Class YearlyTotalComparator
java.lang.Object
org.deltava.comparators.YearlyTotalComparator
- All Implemented Interfaces:
Comparator<YearlyTotal>
A Comparator for YearlyTotal beans.
- Since:
- 11.0
- Version:
- 11.0
- Author:
- Luke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
LEGS
public static final int LEGS- See Also:
-
DISTANCE
public static final int DISTANCE- See Also:
-
POINTS
public static final int POINTS- See Also:
-
-
Constructor Details
-
YearlyTotalComparator
public YearlyTotalComparator(int sortType) Initializes the comparator.- Parameters:
sortType- the sort type
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<YearlyTotal>
-