Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator
org.apache.commons.collections.set.AbstractSetDecorator
org.apache.commons.collections.set.AbstractSerializableSetDecorator
org.apache.commons.collections.set.UnmodifiableSet
Set
to ensure it can't be altered.
This class is Serializable from Commons Collections 3.1.
Field Summary |
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator | |
collection |
Method Summary | |
boolean |
|
boolean |
|
void |
|
static Set |
|
Iterator |
|
boolean |
|
boolean |
|
boolean |
|
Methods inherited from class org.apache.commons.collections.set.AbstractSetDecorator | |
getSet |
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator | |
add , addAll , clear , contains , containsAll , equals , getCollection , hashCode , isEmpty , iterator , remove , removeAll , retainAll , size , toArray , toArray , toString |
public boolean addAll(Collection coll)
- Overrides:
- addAll in interface AbstractCollectionDecorator
public static Set decorate(Set set)
Factory method to create an unmodifiable set.
- Parameters:
set
- the set to decorate, must not be null
public boolean removeAll(Collection coll)
- Overrides:
- removeAll in interface AbstractCollectionDecorator
public boolean retainAll(Collection coll)
- Overrides:
- retainAll in interface AbstractCollectionDecorator