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 int
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 IntObjectMap.PrimitiveEntry<V> entry
-
-
Constructor Detail
-
EntryImpl
EntryImpl(IntObjectMap.PrimitiveEntry<V> entry)
-
-
Method Detail
-
key
public int key()
Description copied from interface:IntObjectMap.PrimitiveEntry
Gets the key for this entry.- Specified by:
key
in interfaceIntObjectMap.PrimitiveEntry<V>
-
value
public V value()
Description copied from interface:IntObjectMap.PrimitiveEntry
Gets the value for this entry.- Specified by:
value
in interfaceIntObjectMap.PrimitiveEntry<V>
-
setValue
public void setValue(V value)
Description copied from interface:IntObjectMap.PrimitiveEntry
Sets the value for this entry.- Specified by:
setValue
in interfaceIntObjectMap.PrimitiveEntry<V>
-
-