org.objectweb.jac.util
Class WeakHashSet
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractSet
|
+--org.objectweb.jac.util.WeakHashSet
- All Implemented Interfaces:
- Collection, Set
- public class WeakHashSet
- extends AbstractSet
- implements Set
WeakHashSet
public WeakHashSet()
WeakHashSet
public WeakHashSet(Collection c)
WeakHashSet
public WeakHashSet(int initialCapacity,
float loadFactor)
WeakHashSet
public WeakHashSet(int initialCapacity)
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Set
- Specified by:
iterator
in class AbstractCollection
size
public int size()
- Specified by:
size
in interface Set
- Specified by:
size
in class AbstractCollection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Set
- Overrides:
isEmpty
in class AbstractCollection
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Set
- Overrides:
contains
in class AbstractCollection
add
public boolean add(Object o)
- Specified by:
add
in interface Set
- Overrides:
add
in class AbstractCollection
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Set
- Overrides:
remove
in class AbstractCollection
clear
public void clear()
- Specified by:
clear
in interface Set
- Overrides:
clear
in class AbstractCollection