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