public static class Country.CountryComparator extends Object implements Comparator<Country>
Constructor and Description |
---|
CountryComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Country o1,
Country o2)
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Country o1, Country o2)
compare
in interface Comparator<Country>