Class DateHolderOldestComparator
java.lang.Object
com.djrapitops.plan.utilities.comparators.DateHolderRecentComparator
com.djrapitops.plan.utilities.comparators.DateHolderOldestComparator
- All Implemented Interfaces:
Comparator<DateHolder>
Compares DateHolder objects so that most recent is last.
-
Constructor Summary
-
Method Summary
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
-
DateHolderOldestComparator
public DateHolderOldestComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<DateHolder>
- Overrides:
compare
in classDateHolderRecentComparator
-