Class DateHolderRecentComparator
- java.lang.Object
-
- com.djrapitops.plan.utilities.comparators.DateHolderRecentComparator
-
- All Implemented Interfaces:
java.util.Comparator<DateHolder>
- Direct Known Subclasses:
DateHolderOldestComparator
,GeoInfoComparator
,SessionStartComparator
public class DateHolderRecentComparator extends java.lang.Object implements java.util.Comparator<DateHolder>
Compares DateHolder objects so that most recent is first.
-
-
Constructor Summary
Constructors Constructor Description DateHolderRecentComparator()
-
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>
-
-