gnu.kawa.util
Class HashNode
- java.util.Map.Entry
public class HashNode
extends java.lang.Object
implements java.util.Map.Entry
boolean | equals(Object o) - Implements the general Map.Entry specification.
|
Object | get(Object defaultValue)
|
Object | getKey()
|
Object | getValue()
|
int | hashCode() - Implements the general Map.Entry specification.
|
Object | setValue(Object value)
|
equals
public boolean equals(Object o)
Implements the general Map.Entry specification.
But note that a GeneralHashTable subclass may override matches
,
so it no longer uses equals, in which case it won't be consistent
with this method, unless it is overridden.
get
public Object get(Object defaultValue)
getKey
public Object getKey()
getValue
public Object getValue()
hashCode
public int hashCode()
Implements the general Map.Entry specification.
But note that a GeneralHashTable subclass may override hash
,
so it no longer uses equals, in which case it won't be consistent
with this method, unless it is overridden.
setValue
public Object setValue(Object value)