Class AbstractInputCheckedMapDecorator.EntrySet
- java.lang.Object
-
- org.apache.commons.collections.collection.AbstractCollectionDecorator
-
- org.apache.commons.collections.set.AbstractSetDecorator
-
- org.apache.commons.collections.map.AbstractInputCheckedMapDecorator.EntrySet
-
- All Implemented Interfaces:
java.lang.Iterable
,java.util.Collection
,java.util.Set
- Enclosing class:
- AbstractInputCheckedMapDecorator
static class AbstractInputCheckedMapDecorator.EntrySet extends AbstractSetDecorator
Implementation of an entry set that checks additions via setValue.
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractInputCheckedMapDecorator
parent
The parent map-
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntrySet(java.util.Set set, AbstractInputCheckedMapDecorator parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator
iterator()
java.lang.Object[]
toArray()
java.lang.Object[]
toArray(java.lang.Object[] array)
-
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, remove, removeAll, retainAll, size, toString
-
-
-
-
Field Detail
-
parent
private final AbstractInputCheckedMapDecorator parent
The parent map
-
-
Constructor Detail
-
EntrySet
protected EntrySet(java.util.Set set, AbstractInputCheckedMapDecorator parent)
-
-
Method Detail
-
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interfacejava.util.Collection
- Specified by:
iterator
in interfacejava.lang.Iterable
- Specified by:
iterator
in interfacejava.util.Set
- Overrides:
iterator
in classAbstractCollectionDecorator
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interfacejava.util.Collection
- Specified by:
toArray
in interfacejava.util.Set
- Overrides:
toArray
in classAbstractCollectionDecorator
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] array)
- Specified by:
toArray
in interfacejava.util.Collection
- Specified by:
toArray
in interfacejava.util.Set
- Overrides:
toArray
in classAbstractCollectionDecorator
-
-