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