|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstresstests.datasets.ComparatorByName
public class ComparatorByName
A Comparator
for two cities - by their name, state,
and zip code
ComparatorByName 22 March 2006
Constructor Summary | |
---|---|
ComparatorByName()
|
Method Summary | |
---|---|
int |
compare(City city1,
City city2)
compare the two given city objects by name, state, and zip code |
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 |
---|
public ComparatorByName()
Method Detail |
---|
public int compare(City city1, City city2)
compare
in interface java.util.Comparator<City>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |