Class DefaultThumbnailDocument.StartTimeComparator
java.lang.Object
com.brightcove.player.mediacontroller.DefaultThumbnailDocument.StartTimeComparator
- All Implemented Interfaces:
Comparator<TimedThumbnail>
- Enclosing class:
- DefaultThumbnailDocument
public static class DefaultThumbnailDocument.StartTimeComparator
extends Object
implements Comparator<TimedThumbnail>
A
Comparator
used to sort TimedThumbnail
s based on their start time-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(TimedThumbnail thumbnail1, TimedThumbnail thumbnail2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
StartTimeComparator
public StartTimeComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<TimedThumbnail>
-