Пример #1
0
 public Element getClone() {
   try {
     Element element = (Element) this.clone();
     element.start = this.start.getLocation();
     element.end = this.end.getLocation();
     element.parentSubnet = this.parentSubnet;
     return element;
   } catch (CloneNotSupportedException ex) {
     throw new RuntimeException();
   }
 }