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 charkey()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 CharObjectMap.PrimitiveEntry<V> entry
-
-
Constructor Detail
-
EntryImpl
EntryImpl(CharObjectMap.PrimitiveEntry<V> entry)
-
-
Method Detail
-
key
public char key()
Description copied from interface:CharObjectMap.PrimitiveEntryGets the key for this entry.- Specified by:
keyin interfaceCharObjectMap.PrimitiveEntry<V>
-
value
public V value()
Description copied from interface:CharObjectMap.PrimitiveEntryGets the value for this entry.- Specified by:
valuein interfaceCharObjectMap.PrimitiveEntry<V>
-
setValue
public void setValue(V value)
Description copied from interface:CharObjectMap.PrimitiveEntrySets the value for this entry.- Specified by:
setValuein interfaceCharObjectMap.PrimitiveEntry<V>
-
-