|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.fma.jtiledownloader.datatypes.TileComparatorFactory.SimpleComparator
private static class TileComparatorFactory.SimpleComparator
Inner class SimpleComparator
Constructor Summary | |
---|---|
private |
TileComparatorFactory.SimpleComparator()
|
Method Summary | |
---|---|
int |
compare(Tile t1,
Tile t2)
This method first compares the z value of the two Tile
objects. |
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 |
---|
private TileComparatorFactory.SimpleComparator()
Method Detail |
---|
public int compare(Tile t1, Tile t2)
Tile
objects. If they are the same the x values are compared and if
they are also identical finally the y values of the two Tile
objects are compared.
compare
in interface java.util.Comparator<Tile>
{@inheritDoc}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |