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
hash
int hash
key
Object key
value
Object value
SimpleMapImpl.Entry
SimpleMapImpl.Entry(int hash,
Object key,
Object value)
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