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 longkey()Gets the key for this entry.voidsetValue(V value)Sets the value for this entry.Vvalue()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.PrimitiveEntryGets the key for this entry.- Specified by:
keyin interfaceLongObjectMap.PrimitiveEntry<V>
-
value
public V value()
Description copied from interface:LongObjectMap.PrimitiveEntryGets the value for this entry.- Specified by:
valuein interfaceLongObjectMap.PrimitiveEntry<V>
-
setValue
public void setValue(V value)
Description copied from interface:LongObjectMap.PrimitiveEntrySets the value for this entry.- Specified by:
setValuein interfaceLongObjectMap.PrimitiveEntry<V>
-
-