001    /**
002     * This class delegates to java.util.HashSet
003     * This file was automatically generated by JAC (-g option)
004     * DO NOT MODIFY
005     * Author: Renaud Pawlak (pawlak@cnam.fr)
006     */
007    
008    package org.objectweb.jac.lib.java.util;
009    
010    import java.io.Serializable;
011    import java.lang.Cloneable;
012    import java.util.Collection;
013    import java.util.Set;
014    import org.objectweb.jac.util.Strings;
015    
016    public class HashSet extends java.util.HashSet {
017    
018        //private java.util.HashSet delegate = new java.util.HashSet();
019    
020        public Object clone() {
021            System.out.println("HashSet.clone");
022            Object result = null;
023            try { 
024                result = super.clone(); 
025            } catch(Exception e) {
026            };
027            //((HashSet)result).delegate=(java.util.HashSet)delegate.clone();
028            return result;
029        }
030    
031        public boolean add(Object p0)  {
032            return super.add(p0);
033        }
034    
035        public boolean contains(Object p0) {
036            return super.contains(p0);
037        }
038    
039        public int size() {
040            return super.size();
041        }
042    
043        public java.util.Iterator iterator() {
044            return super.iterator();
045        }
046    
047        public boolean remove(Object p0) {
048            return super.remove(p0);
049        }
050    
051        public void clear() {
052            super.clear();
053        }
054    
055        public boolean isEmpty() {
056            return super.isEmpty();
057        }
058    
059        public boolean removeAll(Collection p0) {
060            return super.removeAll(p0);
061        }
062    
063        public boolean addAll(Collection p0) {
064            return super.addAll(p0);
065        }
066    
067        public Object[] toArray() {
068            return super.toArray();
069        }
070    
071        public Object[] toArray(Object[] p0) {
072            return super.toArray(p0);
073        }
074    
075        public boolean containsAll(Collection p0) {
076            return super.containsAll(p0);
077        }
078    
079        public boolean retainAll(Collection p0) {
080            return super.retainAll(p0);
081        }
082    
083        public boolean equals(Object o) {
084            return this == o;
085        }
086    
087        public int hashCode() {
088            return System.identityHashCode(this);
089        }
090    
091        public String toString() {
092            return getClass().getName()+"@"+System.identityHashCode(this);
093        }
094    }