Class MediaFormatSizeRankingComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<MediaFormat>

    @ProviderType
    public final class MediaFormatSizeRankingComparator
    extends java.lang.Object
    implements java.util.Comparator<MediaFormat>, java.io.Serializable
    Sorts media formats by size (biggest first), ranking and name.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(MediaFormat obj1, MediaFormat obj2)  
      • 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 Detail

      • MediaFormatSizeRankingComparator

        public MediaFormatSizeRankingComparator()