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