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