Package io.netty.util.collection
Class LongCollections.UnmodifiableMap.EntryImpl
- java.lang.Object
-
- io.netty.util.collection.LongCollections.UnmodifiableMap.EntryImpl
-
- All Implemented Interfaces:
LongObjectMap.PrimitiveEntry<V>
- Enclosing class:
- LongCollections.UnmodifiableMap<V>
private class LongCollections.UnmodifiableMap.EntryImpl extends java.lang.Object implements LongObjectMap.PrimitiveEntry<V>
Unmodifiable wrapper for an entry.
-
-
Field Summary
Fields Modifier and Type Field Description private LongObjectMap.PrimitiveEntry<V>
entry
-
Constructor Summary
Constructors Constructor Description EntryImpl(LongObjectMap.PrimitiveEntry<V> entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
entry
private final LongObjectMap.PrimitiveEntry<V> entry
-
-
Constructor Detail
-
EntryImpl
EntryImpl(LongObjectMap.PrimitiveEntry<V> entry)
-
-
Method Detail
-
key
public long key()
Description copied from interface:LongObjectMap.PrimitiveEntry
Gets the key for this entry.- Specified by:
key
in interfaceLongObjectMap.PrimitiveEntry<V>
-
value
public V value()
Description copied from interface:LongObjectMap.PrimitiveEntry
Gets the value for this entry.- Specified by:
value
in interfaceLongObjectMap.PrimitiveEntry<V>
-
setValue
public void setValue(V value)
Description copied from interface:LongObjectMap.PrimitiveEntry
Sets the value for this entry.- Specified by:
setValue
in interfaceLongObjectMap.PrimitiveEntry<V>
-
-