java.util.Map.Entry
public final class IdentityMap.Entry
extends java.lang.Object
implements java.util.Map.Entry
IdentityMap
.Constructor | Description |
---|---|
Entry(java.lang.Object key,
int hash,
java.lang.Object value) |
Construct an entry.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getHash() |
Get identity hashcode of key.
|
java.lang.Object |
getKey() |
Get key of entry.
|
IdentityMap.Entry |
getNext() |
Get reference to next entry.
|
java.lang.Object |
getValue() |
Get value of entry.
|
void |
setNext(IdentityMap.Entry next) |
Set reference to next entry.
|
java.lang.Object |
setValue(java.lang.Object value) |
Set value of entry.
|
public Entry(java.lang.Object key, int hash, java.lang.Object value)
key
- Key of entry.hash
- Identity hashcode of key.value
- Value of entry.public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public int getHash()
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
value
- New value of entry.public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public void setNext(IdentityMap.Entry next)
next
- New reference to next entry.public IdentityMap.Entry getNext()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com