Package io.netty.util.collection
Class IntCollections.UnmodifiableMap.EntryImpl
- java.lang.Object
-
- io.netty.util.collection.IntCollections.UnmodifiableMap.EntryImpl
-
- All Implemented Interfaces:
IntObjectMap.PrimitiveEntry<V>
- Enclosing class:
- IntCollections.UnmodifiableMap<V>
private class IntCollections.UnmodifiableMap.EntryImpl extends java.lang.Object implements IntObjectMap.PrimitiveEntry<V>
Unmodifiable wrapper for an entry.
-
-
Field Summary
Fields Modifier and Type Field Description private IntObjectMap.PrimitiveEntry<V>entry
-
Constructor Summary
Constructors Constructor Description EntryImpl(IntObjectMap.PrimitiveEntry<V> entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intkey()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 IntObjectMap.PrimitiveEntry<V> entry
-
-
Constructor Detail
-
EntryImpl
EntryImpl(IntObjectMap.PrimitiveEntry<V> entry)
-
-
Method Detail
-
key
public int key()
Description copied from interface:IntObjectMap.PrimitiveEntryGets the key for this entry.- Specified by:
keyin interfaceIntObjectMap.PrimitiveEntry<V>
-
value
public V value()
Description copied from interface:IntObjectMap.PrimitiveEntryGets the value for this entry.- Specified by:
valuein interfaceIntObjectMap.PrimitiveEntry<V>
-
setValue
public void setValue(V value)
Description copied from interface:IntObjectMap.PrimitiveEntrySets the value for this entry.- Specified by:
setValuein interfaceIntObjectMap.PrimitiveEntry<V>
-
-