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