Class DateHolderRecentComparator
java.lang.Object
com.djrapitops.plan.utilities.comparators.DateHolderRecentComparator
- All Implemented Interfaces:
Comparator<DateHolder>
- Direct Known Subclasses:
DateHolderOldestComparator
,GeoInfoComparator
,SessionStartComparator
Compares DateHolder objects so that most recent is first.
-
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
-
DateHolderRecentComparator
public DateHolderRecentComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<DateHolder>
-