Class DestinationComparator
java.lang.Object
ecmwf.ecpds.master.transfer.DestinationComparator
- All Implemented Interfaces:
Comparator<Destination>
The Class DestinationComparator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(Destination destination1, Destination destination2) Compare.static Destination[]getDestinationArray(List<Destination> destinations) Gets the destination array.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DestinationComparator
public DestinationComparator()
-
-
Method Details
-
compare
Compare.- Specified by:
comparein interfaceComparator<Destination>
-
getDestinationArray
Gets the destination array.- Parameters:
destinations- the destinations- Returns:
- the destination array
-