| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.util.BasicEMap.EntryImpl
A simple and obvious entry implementation.
Field Summary | |
protected int | hash
The cached hash code of the key. |
protected Object | key
The key. |
protected Object | value
The value. |
Constructor Summary | |
BasicEMap.EntryImpl(int hash,
Object key,
Object value)
Creates a fully initialized instance. |
Method Summary | |
protected Object | clone()
Returns a new entry just like this one. |
boolean | equals(Object object)
|
int | getHash()
Returns the hash code of the key. |
Object | getKey()
|
Object | getValue()
|
int | hashCode()
|
void | setHash(int hash)
Sets the hash code of the key. |
void | setKey(Object key)
Sets the key. |
Object | setValue(Object value)
|
String | toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int hash
protected Object key
protected Object value
Constructor Detail |
public BasicEMap.EntryImpl(int hash, Object key, Object value)
Method Detail |
protected Object clone()
public int getHash()
public void setHash(int hash)
public Object getKey()
public void setKey(Object key)
public Object getValue()
public Object setValue(Object value)
public boolean equals(Object object)
public int hashCode()
public String toString()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |