org.objectweb.jac.lib.java.util
Class HashSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
              |
              +--java.util.HashSet
                    |
                    +--org.objectweb.jac.lib.java.util.HashSet
All Implemented Interfaces:
Cloneable, Collection, Serializable, Set

public class HashSet
extends HashSet

See Also:
Serialized Form

Constructor Summary
HashSet()
           
 
Method Summary
 boolean add(Object p0)
           
 boolean addAll(Collection p0)
           
 void clear()
           
 Object clone()
           
 boolean contains(Object p0)
           
 boolean containsAll(Collection p0)
           
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object p0)
           
 boolean removeAll(Collection p0)
           
 boolean retainAll(Collection p0)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[] p0)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashSet

public HashSet()
Method Detail

clone

public Object clone()
Overrides:
clone in class HashSet

add

public boolean add(Object p0)
Specified by:
add in interface Set
Overrides:
add in class HashSet

contains

public boolean contains(Object p0)
Specified by:
contains in interface Set
Overrides:
contains in class HashSet

size

public int size()
Specified by:
size in interface Set
Overrides:
size in class HashSet

iterator

public Iterator iterator()
Specified by:
iterator in interface Set
Overrides:
iterator in class HashSet

remove

public boolean remove(Object p0)
Specified by:
remove in interface Set
Overrides:
remove in class HashSet

clear

public void clear()
Specified by:
clear in interface Set
Overrides:
clear in class HashSet

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Set
Overrides:
isEmpty in class HashSet

removeAll

public boolean removeAll(Collection p0)
Specified by:
removeAll in interface Set
Overrides:
removeAll in class AbstractSet

addAll

public boolean addAll(Collection p0)
Specified by:
addAll in interface Set
Overrides:
addAll in class AbstractCollection

toArray

public Object[] toArray()
Specified by:
toArray in interface Set
Overrides:
toArray in class AbstractCollection

toArray

public Object[] toArray(Object[] p0)
Specified by:
toArray in interface Set
Overrides:
toArray in class AbstractCollection

containsAll

public boolean containsAll(Collection p0)
Specified by:
containsAll in interface Set
Overrides:
containsAll in class AbstractCollection

retainAll

public boolean retainAll(Collection p0)
Specified by:
retainAll in interface Set
Overrides:
retainAll in class AbstractCollection

equals

public boolean equals(Object o)
Specified by:
equals in interface Set
Overrides:
equals in class AbstractSet

hashCode

public int hashCode()
Specified by:
hashCode in interface Set
Overrides:
hashCode in class AbstractSet

toString

public String toString()
Overrides:
toString in class AbstractCollection