Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.sablecc.sablecc
Class TypedHashMap.TypedEntry  view TypedHashMap.TypedEntry download TypedHashMap.TypedEntry.java

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
(package private) TypedHashMap.TypedEntry(java.util.Map.Entry entry)
           
 
Method Summary
 java.lang.Object getKey()
          Get the key corresponding to this entry.
 java.lang.Object getValue()
          Get the value corresponding to this entry.
 java.lang.Object setValue(java.lang.Object value)
          Replaces the value with the specified object (optional operation).
 
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
 

Field Detail

entry

private java.util.Map.Entry entry
Constructor Detail

TypedHashMap.TypedEntry

TypedHashMap.TypedEntry(java.util.Map.Entry entry)
Method Detail

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