public final class

UnmodifiableEntrySet

extends AbstractSetDecorator
implements Unmodifiable
java.lang.Object
   ↳ org.apache.commons.collections.collection.AbstractCollectionDecorator
     ↳ org.apache.commons.collections.set.AbstractSetDecorator
       ↳ org.apache.commons.collections.map.UnmodifiableEntrySet

Class Overview

Decorates a map entry Set to ensure it can't be altered.

Summary

[Expand]
Inherited Fields
From class org.apache.commons.collections.collection.AbstractCollectionDecorator
Public Methods
boolean add(Object object)
boolean addAll(Collection coll)
void clear()
static Set decorate(Set set)
Factory method to create an unmodifiable set of Map Entry objects.
Iterator iterator()
boolean remove(Object object)
boolean removeAll(Collection coll)
boolean retainAll(Collection coll)
Object[] toArray()
Object[] toArray(Object[] array)
[Expand]
Inherited Methods
From class org.apache.commons.collections.set.AbstractSetDecorator
From class org.apache.commons.collections.collection.AbstractCollectionDecorator
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set

Public Methods

public boolean add (Object object)

public boolean addAll (Collection coll)

public void clear ()

public static Set decorate (Set set)

Factory method to create an unmodifiable set of Map Entry objects.

Parameters
set the set to decorate, must not be null
Throws
IllegalArgumentException if set is null

public Iterator iterator ()

public boolean remove (Object object)

public boolean removeAll (Collection coll)

public boolean retainAll (Collection coll)

public Object[] toArray ()

public Object[] toArray (Object[] array)