public class DefaultTimedThumbnailFilter extends java.lang.Object implements TimedThumbnailFilter
ThumbnailDocument
alowing a maximum number of MAX_NUMBER_OF_TIMED_THUMBNAILS
TimedThumbnail
.
The TimedThumbnail
s are selected with the same distance from one another and its start and end time are updated to avoid gaps between them.Modifier and Type | Field and Description |
---|---|
static int |
MAX_NUMBER_OF_TIMED_THUMBNAILS
Default number of
TimedThumbnail allowed in a ThumbnailDocument |
NO_FILTER
Constructor and Description |
---|
DefaultTimedThumbnailFilter() |
Modifier and Type | Method and Description |
---|---|
java.util.List<TimedThumbnail> |
filter(java.util.List<TimedThumbnail> originalTimedThumbnailList)
Receives the list of
TimedThumbnail and iterates over all available TimedThumbnail
and selects a sublist of it. |
public static final int MAX_NUMBER_OF_TIMED_THUMBNAILS
TimedThumbnail
allowed in a ThumbnailDocument
@NonNull public java.util.List<TimedThumbnail> filter(@NonNull java.util.List<TimedThumbnail> originalTimedThumbnailList)
TimedThumbnailFilter
TimedThumbnail
and iterates over all available TimedThumbnail
and selects a sublist of it.filter
in interface TimedThumbnailFilter
originalTimedThumbnailList
- the list of TimedThumbnail
to be filtered.TimedThumbnail