Class DateHolderOldestComparator
- java.lang.Object
-
- com.djrapitops.plan.utilities.comparators.DateHolderRecentComparator
-
- com.djrapitops.plan.utilities.comparators.DateHolderOldestComparator
-
- All Implemented Interfaces:
java.util.Comparator<DateHolder>
public class DateHolderOldestComparator extends DateHolderRecentComparator
Compares DateHolder objects so that most recent is last.
-
-
Constructor Summary
Constructors Constructor Description DateHolderOldestComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(DateHolder one, DateHolder two)
-
-
-
Method Detail
-
compare
public int compare(DateHolder one, DateHolder two)
- Specified by:
compare
in interfacejava.util.Comparator<DateHolder>
- Overrides:
compare
in classDateHolderRecentComparator
-
-