T - the type of elements maintained by this Collectionpublic static interface Object2IntMap.Entry<T>
extends java.util.Map.Entry<T,java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue()
Type Specific getValue method that reduces boxing/unboxing
|
default java.lang.Integer |
getValue() |
int |
setValue(int value)
Type Specific setValue method that reduces boxing/unboxing
|
default java.lang.Integer |
setValue(java.lang.Integer value) |
int getIntValue()
int setValue(int value)
value - the new Value that should be placed in the given entryjava.lang.UnsupportedOperationException - if the Entry is immutable or not supporteddefault java.lang.Integer getValue()
getValue in interface java.util.Map.Entry<T,java.lang.Integer>default java.lang.Integer setValue(java.lang.Integer value)
setValue in interface java.util.Map.Entry<T,java.lang.Integer>