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