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