Package org.openstreetmap.josm.command
Class Command.OldNodeState
- java.lang.Object
- 
- org.openstreetmap.josm.command.Command.OldNodeState
 
- 
- Enclosing class:
- Command
 
 public static class Command.OldNodeState extends java.lang.Object Small helper for holding the interesting part of the old data state of the objects.
- 
- 
Constructor SummaryConstructors Constructor Description OldNodeState(Node node)Constructs a newOldNodeStatefor the given node.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)EastNorthgetEastNorth()Returns old east/north.LatLongetLatLon()Returns old lat/lon.inthashCode()booleanisModified()Returns old modified state.
 
- 
- 
- 
Constructor Detail- 
OldNodeStatepublic OldNodeState(Node node) Constructs a newOldNodeStatefor the given node.- Parameters:
- node- The node whose state has to be remembered
 
 
- 
 - 
Method Detail- 
getLatLonpublic final LatLon getLatLon() Returns old lat/lon.- Returns:
- old lat/lon
- Since:
- 10248
- See Also:
- Node.getCoor()
 
 - 
getEastNorthpublic final EastNorth getEastNorth() Returns old east/north.- Returns:
- old east/north
- See Also:
- INode.getEastNorth()
 
 - 
isModifiedpublic final boolean isModified() Returns old modified state.- Returns:
- old modified state
- See Also:
- #isModified()
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-