Class DestinationComparator
java.lang.Object
ecmwf.ecpds.master.plugin.http.controller.monitoring.DestinationComparator
-
Constructor Summary
ConstructorsConstructorDescriptionDestinationComparator(String field, boolean ascending) Instantiates a new destination comparator. -
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
-
Constructor Details
-
DestinationComparator
Instantiates a new destination comparator.- Parameters:
field- the fieldascending- the ascending
-
-
Method Details
-
compare
Compare.- Specified by:
comparein interfaceComparator<Destination>
-