com.brightcove.player.mediacontroller

## Class DefaultThumbnailDocument.StartTimeComparator

- java.lang.Object
- - com.brightcove.player.mediacontroller.DefaultThumbnailDocument.StartTimeComparator

- All Implemented Interfaces:
    java.util.Comparator<TimedThumbnail>
  Enclosing class:
    DefaultThumbnailDocument

      public static class DefaultThumbnailDocument.StartTimeComparator
      extends java.lang.Object
      implements java.util.Comparator<TimedThumbnail>

  A `Comparator` used to sort `TimedThumbnail`s based on their start time

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StartTimeComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### StartTimeComparator

          public StartTimeComparator()

  - ### Method Detail

    - #### compare

          public int compare(TimedThumbnail thumbnail1,
                             TimedThumbnail thumbnail2)

      Specified by:
        `compare` in interface `java.util.Comparator<TimedThumbnail>`