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