Package org.javlo.navigation
Class ModificationDateComparator
- java.lang.Object
-
- org.javlo.navigation.ModificationDateComparator
-
- All Implemented Interfaces:
Comparator<PageBean>
public class ModificationDateComparator extends Object implements Comparator<PageBean>
-
-
Constructor Summary
Constructors Constructor Description ModificationDateComparator(boolean ascendent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(PageBean page1, PageBean page2)
-
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(PageBean page1, PageBean page2)
- Specified by:
compare
in interfaceComparator<PageBean>
-
-