private class LongCollections.UnmodifiableMap.EntryImpl extends java.lang.Object implements LongObjectMap.PrimitiveEntry<V>
| Modifier and Type | Field and Description |
|---|---|
private LongObjectMap.PrimitiveEntry<V> |
entry |
| Constructor and Description |
|---|
EntryImpl(LongObjectMap.PrimitiveEntry<V> entry) |
| Modifier and Type | Method and Description |
|---|---|
long |
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 LongObjectMap.PrimitiveEntry<V> entry
EntryImpl(LongObjectMap.PrimitiveEntry<V> entry)
public long key()
LongObjectMap.PrimitiveEntrykey in interface LongObjectMap.PrimitiveEntry<V>public V value()
LongObjectMap.PrimitiveEntryvalue in interface LongObjectMap.PrimitiveEntry<V>public void setValue(V value)
LongObjectMap.PrimitiveEntrysetValue in interface LongObjectMap.PrimitiveEntry<V>