1 7 8 package org.objectweb.jac.lib.java.util; 9 10 import java.util.Collection ; 11 import java.util.Map ; 12 import java.util.Set ; 13 import org.objectweb.jac.util.Strings; 14 15 public class HashMap extends java.util.HashMap { 16 17 19 public Object clone() { 20 System.out.println("HashMap.clone"); 21 Object result = null; 22 try { 23 result = super.clone(); 24 } catch(Exception e) { 25 }; 26 return result; 28 } 29 30 public Object put(Object p0, Object p1) { 31 return super.put(p0, p1); 32 } 33 34 public Object get(Object p0) { 35 return super.get(p0); 36 } 37 38 public int size() { 39 return super.size(); 40 } 41 42 public Object remove(Object p0) { 43 return super.remove(p0); 44 } 45 46 public Collection values() { 47 return super.values(); 48 } 49 50 public void clear() { 51 super.clear(); 52 } 53 54 public Set keySet() { 55 return super.keySet(); 56 } 57 58 public Set entrySet() { 59 return super.entrySet(); 60 } 61 62 public boolean isEmpty() { 63 return super.isEmpty(); 64 } 65 66 public boolean containsValue(Object p0) { 67 return super.containsValue(p0); 68 } 69 70 public boolean containsKey(Object p0) { 71 return super.containsKey(p0); 72 } 73 74 public void putAll(Map p0) { 75 super.putAll(p0); 76 } 77 78 public boolean equals(Object o) { 79 return this == o; 80 } 81 82 public int hashCode() { 83 return System.identityHashCode(this); 84 } 85 86 public String toString() { 87 return getClass().getName()+"@"+System.identityHashCode(this); 88 } 89 } 90 | Popular Tags |