Package models.comparators
Class RouteComparator
java.lang.Object
models.comparators.RouteComparator
- All Implemented Interfaces:
Comparator<Route>
Compare two Routes by ID (default used)
- Since:
- 1.0
-
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
-
RouteComparator
public RouteComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Route>
-