org.objectweb.jac.util
Class WeakHashSet

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byorg.objectweb.jac.util.WeakHashSet
All Implemented Interfaces:
Collection, Set

public class WeakHashSet
extends AbstractSet
implements Set


Constructor Summary
WeakHashSet()
           
WeakHashSet(Collection c)
           
WeakHashSet(int initialCapacity)
           
WeakHashSet(int initialCapacity, float loadFactor)
           
 
Method Summary
 boolean add(Object o)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

WeakHashSet

public WeakHashSet()

WeakHashSet

public WeakHashSet(Collection c)

WeakHashSet

public WeakHashSet(int initialCapacity,
                   float loadFactor)

WeakHashSet

public WeakHashSet(int initialCapacity)
Method Detail

iterator

public Iterator iterator()
Specified by:
iterator in interface Set

size

public int size()
Specified by:
size in interface Set

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Set

contains

public boolean contains(Object o)
Specified by:
contains in interface Set

add

public boolean add(Object o)
Specified by:
add in interface Set

remove

public boolean remove(Object o)
Specified by:
remove in interface Set

clear

public void clear()
Specified by:
clear in interface Set