|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodel.Country.CountryComparator
static class Country.CountryComparator
Inner class CountryComparator is used to enable sorting Country objects by their country names.
Constructor Summary | |
---|---|
Country.CountryComparator()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object first_object,
java.lang.Object second_object)
|
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 |
Constructor Detail |
---|
Country.CountryComparator()
Method Detail |
---|
public int compare(java.lang.Object first_object, java.lang.Object second_object)
compare
in interface java.util.Comparator<java.lang.Object>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |