1 55 56 package org.apache.bsf.debug.util; 57 58 64 65 class IntHashMapEntry implements Cloneable { 66 int key; 67 Object value; 68 IntHashMapEntry next; 69 70 IntHashMapEntry(int theKey, Object theValue) { 71 key = theKey; 72 value = theValue; 73 } 74 public Object clone() throws CloneNotSupportedException { 75 IntHashMapEntry entry = (IntHashMapEntry)super.clone(); 76 if (next != null) entry.next = (IntHashMapEntry)next.clone(); 77 return entry; 78 } 79 } 80 | Popular Tags |