Map.Entry
protected static class ConcurrentReaderHashMap.Entry extends Object implements Map.Entry
Modifier and Type | Field | Description |
---|---|---|
protected int |
hash |
|
protected Object |
key |
|
protected ConcurrentReaderHashMap.Entry |
next |
|
protected Object |
value |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
Object |
getKey() |
|
Object |
getValue() |
Get the value.
|
int |
hashCode() |
|
Object |
setValue(Object value) |
Set the value of this entry.
|
String |
toString() |
protected final int hash
protected final Object key
protected final ConcurrentReaderHashMap.Entry next
protected volatile Object value
public Object getValue()
public Object setValue(Object value)
setValue
in interface Map.Entry
value
- the new value.NullPointerException
- if the value is null
.public boolean equals(Object o)
public int hashCode()