Beispiel #1
0
 @Override
 protected JSRELine clone() {
   JSRELine copy = new JSRELine();
   copy.body = body;
   copy.id = id.clone();
   copy.label = label;
   for (Map.Entry<Integer, String[]> entry : tokenMap.entrySet()) {
     copy.tokenMap.put(entry.getKey(), entry.getValue());
   } // end foreach entry
   return copy;
 }
Beispiel #2
0
 /** @return An instance of ID class in line */
 public ID getId() {
   return id.clone();
 }