1 7 8 package org.objectweb.jac.lib.java.util; 9 10 import java.io.Serializable ; 11 import java.lang.Cloneable ; 12 import java.util.Collection ; 13 import java.util.Set ; 14 import org.objectweb.jac.util.Strings; 15 16 public class HashSet extends java.util.HashSet { 17 18 20 public Object clone() { 21 System.out.println("HashSet.clone"); 22 Object result = null; 23 try { 24 result = super.clone(); 25 } catch(Exception e) { 26 }; 27 return result; 29 } 30 31 public boolean add(Object p0) { 32 return super.add(p0); 33 } 34 35 public boolean contains(Object p0) { 36 return super.contains(p0); 37 } 38 39 public int size() { 40 return super.size(); 41 } 42 43 public java.util.Iterator iterator() { 44 return super.iterator(); 45 } 46 47 public boolean remove(Object p0) { 48 return super.remove(p0); 49 } 50 51 public void clear() { 52 super.clear(); 53 } 54 55 public boolean isEmpty() { 56 return super.isEmpty(); 57 } 58 59 public boolean removeAll(Collection p0) { 60 return super.removeAll(p0); 61 } 62 63 public boolean addAll(Collection p0) { 64 return super.addAll(p0); 65 } 66 67 public Object [] toArray() { 68 return super.toArray(); 69 } 70 71 public Object [] toArray(Object [] p0) { 72 return super.toArray(p0); 73 } 74 75 public boolean containsAll(Collection p0) { 76 return super.containsAll(p0); 77 } 78 79 public boolean retainAll(Collection p0) { 80 return super.retainAll(p0); 81 } 82 83 public boolean equals(Object o) { 84 return this == o; 85 } 86 87 public int hashCode() { 88 return System.identityHashCode(this); 89 } 90 91 public String toString() { 92 return getClass().getName()+"@"+System.identityHashCode(this); 93 } 94 } 95 | Popular Tags |