Class MapEntry
java.lang.Object
org.apache.commons.chain.web.MapEntry
- All Implemented Interfaces:
Map.Entry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
The entry key.
-
value
The entry value.
-
modifiable
private boolean modifiableWhether the entry can be modified.
-
-
Constructor Details
-
MapEntry
-
-
Method Details
-
getKey
-
getValue
-
setValue
Sets the entry value if the entry can be modified.
- Specified by:
setValuein interfaceMap.Entry- Parameters:
val- The new value- Returns:
- The old entry value
- Throws:
UnsupportedOperationException- If the entry cannot be modified
-
equals
-
hashCode
-