示例#1
0
 public void visit(Node n) {
   if (n.isNewOrUndeleted() || n.isModified() || n.isDeleted()) {
     // upload new nodes as well as modified and deleted ones
     hull.add(n);
   }
 }
示例#2
0
文件: Command.java 项目: uazure/josm
 /**
  * Constructs a new {@code OldNodeState} for the given node.
  *
  * @param node The node whose state has to be remembered
  */
 public OldNodeState(Node node) {
   latlon = node.getCoor();
   eastNorth = node.getEastNorth();
   modified = node.isModified();
 }