java.lang.Object
org.sablecc.sablecc.TypedHashMap.TypedEntry
- All Implemented Interfaces:
- java.util.Map.Entry
- Enclosing class:
- TypedHashMap
- private class TypedHashMap.TypedEntry
- extends java.lang.Object
- implements java.util.Map.Entry
|
Field Summary |
private java.util.Map.Entry |
entry
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
equals, hashCode |
entry
private java.util.Map.Entry entry
TypedHashMap.TypedEntry
TypedHashMap.TypedEntry(java.util.Map.Entry entry)
getKey
public java.lang.Object getKey()
- Description copied from interface:
java.util.Map.Entry
- Get the key corresponding to this entry.
- Specified by:
getKey in interface java.util.Map.Entry
getValue
public java.lang.Object getValue()
- Description copied from interface:
java.util.Map.Entry
- Get the value corresponding to this entry. If you already called
Iterator.remove(), this is undefined.
- Specified by:
getValue in interface java.util.Map.Entry
setValue
public java.lang.Object setValue(java.lang.Object value)
- Description copied from interface:
java.util.Map.Entry
- Replaces the value with the specified object (optional operation).
This writes through to the map, and is undefined if you already
called Iterator.remove().
- Specified by:
setValue in interface java.util.Map.Entry