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 immutableMapentry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsignedIntegergetKey()intgetPrimitiveKey()EgetValue()EsetValue(E value)
-
-
-
Constructor Detail
-
ImmutableSplayMapEntry
public ImmutableSplayMapEntry(SplayMap.SplayedEntry<E> entry)
Create a new immutableMapentry.- Parameters:
entry- The innerMapentry that is wrapped.
-
-
Method Detail
-
getKey
public UnsignedInteger getKey()
- Specified by:
getKeyin interfaceMap.Entry<UnsignedInteger,E>
-
getPrimitiveKey
public int getPrimitiveKey()
- Returns:
- the primitive integer view of the unsigned key.
-
getValue
public E getValue()
- Specified by:
getValuein interfaceMap.Entry<UnsignedInteger,E>
-
-