|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.osm.NodePositionComparator
public class NodePositionComparator
Provides some node order , based on coordinates, nodes with equal coordinates are equal.
Constructor Summary | |
---|---|
NodePositionComparator()
|
Method Summary | |
---|---|
int |
compare(Node n1,
Node n2)
|
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 NodePositionComparator()
Method Detail |
---|
public int compare(Node n1, Node n2)
compare
in interface java.util.Comparator<Node>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |