Ejemplo n.º 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);
   }
 }
Ejemplo n.º 2
0
 /**
  * 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();
 }