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.PrimitiveEntrykey in interface ShortObjectMap.PrimitiveEntry<V>public V value()
ShortObjectMap.PrimitiveEntryvalue in interface ShortObjectMap.PrimitiveEntry<V>public void setValue(V value)
ShortObjectMap.PrimitiveEntrysetValue in interface ShortObjectMap.PrimitiveEntry<V>