private class ShortCollections.UnmodifiableMap.EntryImpl extends java.lang.Object implements ShortObjectMap.PrimitiveEntry<V>
Modifier and Type | Field and Description |
---|---|
private ShortObjectMap.PrimitiveEntry<V> |
entry |
Constructor and Description |
---|
EntryImpl(ShortObjectMap.PrimitiveEntry<V> entry) |
Modifier and Type | Method and Description |
---|---|
short |
key()
Gets the key for this entry.
|
void |
setValue(V value)
Sets the value for this entry.
|
V |
value()
Gets the value for this entry.
|
private final ShortObjectMap.PrimitiveEntry<V> entry
EntryImpl(ShortObjectMap.PrimitiveEntry<V> entry)
public short key()
ShortObjectMap.PrimitiveEntry
key
in interface ShortObjectMap.PrimitiveEntry<V>
public V value()
ShortObjectMap.PrimitiveEntry
value
in interface ShortObjectMap.PrimitiveEntry<V>
public void setValue(V value)
ShortObjectMap.PrimitiveEntry
setValue
in interface ShortObjectMap.PrimitiveEntry<V>