Package collection.comparators
package collection.comparators
-
ClassesClassDescriptionThis class provides a comparator for the City class that compares two cities based on their natural order using the compareTo method of the City class.This class provides a comparator for the City class that compares two cities based on their elevation in meters above sea level.