Class SplayMap.ImmutableSplayMapEntry<E>
- java.lang.Object
-
- org.apache.qpid.protonj2.engine.util.SplayMap.ImmutableSplayMapEntry<E>
-
- Type Parameters:
E
- Type of the value portion of this immutable entry.
- All Implemented Interfaces:
Map.Entry<UnsignedInteger,E>
public static class SplayMap.ImmutableSplayMapEntry<E> extends Object implements Map.Entry<UnsignedInteger,E>
-
-
Constructor Summary
Constructors Constructor Description ImmutableSplayMapEntry(SplayMap.SplayedEntry<E> entry)
Create a new immutableMap
entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsignedInteger
getKey()
int
getPrimitiveKey()
E
getValue()
E
setValue(E value)
-
-
-
Constructor Detail
-
ImmutableSplayMapEntry
public ImmutableSplayMapEntry(SplayMap.SplayedEntry<E> entry)
Create a new immutableMap
entry.- Parameters:
entry
- The innerMap
entry that is wrapped.
-
-
Method Detail
-
getKey
public UnsignedInteger getKey()
- Specified by:
getKey
in interfaceMap.Entry<UnsignedInteger,E>
-
getPrimitiveKey
public int getPrimitiveKey()
- Returns:
- the primitive integer view of the unsigned key.
-
getValue
public E getValue()
- Specified by:
getValue
in interfaceMap.Entry<UnsignedInteger,E>
-
-