Package org.javlo.component.multimedia
Class MultimediaResource.SortByIndex
- java.lang.Object
-
- org.javlo.component.multimedia.MultimediaResource.SortByIndex
-
- All Implemented Interfaces:
Comparator<MultimediaResource>
- Enclosing class:
- MultimediaResource
public static class MultimediaResource.SortByIndex extends Object implements Comparator<MultimediaResource>
-
-
Constructor Summary
Constructors Constructor Description SortByIndex(boolean reverse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(MultimediaResource o1, MultimediaResource o2)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(MultimediaResource o1, MultimediaResource o2)
- Specified by:
compare
in interfaceComparator<MultimediaResource>
-
-