gate.util
Class SimpleMapImpl.Entry

java.lang.Object
  |
  +--gate.util.SimpleMapImpl.Entry
All Implemented Interfaces:
Map.Entry
Enclosing class:
SimpleMapImpl

private static class SimpleMapImpl.Entry
extends Object
implements Map.Entry

Auxiliary classes needed for the support of entrySet() method


Field Summary
(package private)  int hash
           
(package private)  Object key
           
(package private)  Object value
           
 
Constructor Summary
(package private) SimpleMapImpl.Entry(int hash, Object key, Object value)
           
 
Method Summary
protected  Object clone()
           
 boolean equals(Object o)
           
 Object getKey()
           
 Object getValue()
           
 int hashCode()
           
 Object setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

hash

int hash

key

Object key

value

Object value
Constructor Detail

SimpleMapImpl.Entry

SimpleMapImpl.Entry(int hash,
                    Object key,
                    Object value)
Method Detail

clone

protected Object clone()
Overrides:
clone in class Object

getKey

public Object getKey()
Specified by:
getKey in interface Map.Entry

getValue

public Object getValue()
Specified by:
getValue in interface Map.Entry

setValue

public Object setValue(Object value)
Specified by:
setValue in interface Map.Entry

equals

public boolean equals(Object o)
Specified by:
equals in interface Map.Entry
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object