org.openstreetmap.josm.actions
Class CombineWayAction.NodePair
java.lang.Object
org.openstreetmap.josm.actions.CombineWayAction.NodePair
- Enclosing class:
- CombineWayAction
public static class CombineWayAction.NodePair
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
a
private Node a
b
private Node b
CombineWayAction.NodePair
public CombineWayAction.NodePair(Node a,
Node b)
CombineWayAction.NodePair
public CombineWayAction.NodePair(Pair<Node,Node> pair)
CombineWayAction.NodePair
public CombineWayAction.NodePair(CombineWayAction.NodePair other)
getA
public Node getA()
getB
public Node getB()
isAdjacentToA
public boolean isAdjacentToA(CombineWayAction.NodePair other)
isAdjacentToB
public boolean isAdjacentToB(CombineWayAction.NodePair other)
isSuccessorOf
public boolean isSuccessorOf(CombineWayAction.NodePair other)
isPredecessorOf
public boolean isPredecessorOf(CombineWayAction.NodePair other)
swap
public CombineWayAction.NodePair swap()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
contains
public boolean contains(Node n)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
JOSM