com.generationjava.collections
Class ProxySet
java.lang.Object
com.generationjava.collections.ProxySet
- All Implemented Interfaces:
- Collection, Set
- public class ProxySet
- extends Object
- implements Set
A Set which wraps another Set. Intended mainly to
be used as a superclass.
ProxySet
public ProxySet(Set set)
add
public boolean add(Object obj)
- Specified by:
add in interface Set
addAll
public boolean addAll(Collection c)
- Specified by:
addAll in interface Set
clear
public void clear()
- Specified by:
clear in interface Set
contains
public boolean contains(Object obj)
- Specified by:
contains in interface Set
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAll in interface Set
equals
public boolean equals(Object obj)
- Specified by:
equals in interface Set
hashCode
public int hashCode()
- Specified by:
hashCode in interface Set
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Set
iterator
public Iterator iterator()
- Specified by:
iterator in interface Set
remove
public boolean remove(Object obj)
- Specified by:
remove in interface Set
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll in interface Set
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll in interface Set
size
public int size()
- Specified by:
size in interface Set
toArray
public Object[] toArray()
- Specified by:
toArray in interface Set
toArray
public Object[] toArray(Object[] arr)
- Specified by:
toArray in interface Set
Copyright © 2000-2005 OSJava. All Rights Reserved.