Class DestinationComparator
java.lang.Object
ecmwf.ecpds.master.transfer.DestinationComparator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(Destination destination1, Destination destination2) Compare.static Destination[]
getDestinationArray
(List<Destination> destinations) Gets the destination array.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
-
DestinationComparator
public DestinationComparator()
-
-
Method Details
-
compare
Compare.- Specified by:
compare
in interfaceComparator<Destination>
-
getDestinationArray
Gets the destination array.- Parameters:
destinations
- the destinations- Returns:
- the destination array
-