Class AbstractInputCheckedMapDecorator.MapEntry
- java.lang.Object
-
- org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
-
- org.apache.commons.collections.map.AbstractInputCheckedMapDecorator.MapEntry
-
- All Implemented Interfaces:
java.util.Map.Entry
,KeyValue
- Enclosing class:
- AbstractInputCheckedMapDecorator
static class AbstractInputCheckedMapDecorator.MapEntry extends AbstractMapEntryDecorator
Implementation of a map entry 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.keyvalue.AbstractMapEntryDecorator
entry
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MapEntry(java.util.Map.Entry entry, AbstractInputCheckedMapDecorator parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
setValue(java.lang.Object value)
-
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
equals, getKey, getMapEntry, getValue, hashCode, toString
-
-
-
-
Field Detail
-
parent
private final AbstractInputCheckedMapDecorator parent
The parent map
-
-
Constructor Detail
-
MapEntry
protected MapEntry(java.util.Map.Entry entry, AbstractInputCheckedMapDecorator parent)
-
-
Method Detail
-
setValue
public java.lang.Object setValue(java.lang.Object value)
- Specified by:
setValue
in interfacejava.util.Map.Entry
- Overrides:
setValue
in classAbstractMapEntryDecorator
-
-