public static class Command.OldNodeState extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private EastNorth |
eastNorth |
private LatLon |
latLon |
private boolean |
modified |
| Constructor and Description |
|---|
OldNodeState(Node node)
Constructs a new
OldNodeState for the given node. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
EastNorth |
getEastNorth()
Returns old east/north.
|
LatLon |
getLatLon()
Returns old lat/lon.
|
int |
hashCode() |
boolean |
isModified()
Returns old modified state.
|
private final boolean modified
public OldNodeState(Node node)
OldNodeState for the given node.node - The node whose state has to be rememberedpublic final LatLon getLatLon()
Node.getCoor()public final EastNorth getEastNorth()
INode.getEastNorth()public final boolean isModified()
#isModified()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object