예제 #1
0
 public Object clone() {
   LinkedList p = new LinkedList();
   p.value = this.value;
   return p;
 }
예제 #2
0
 public Object put(Object key, Object value) { // replace key with value
   LinkedList f = first()._get_(key);
   if (f != null) f.value = value;
   else extend(value);
   return value;
 }