public static interface Reference2LongMap.Entry<K>
extends java.util.Map.Entry<K,java.lang.Long>
Map.Entry
; provides some additional methods
that use polymorphism to avoid (un)boxing.Map.Entry
Modifier and Type | Method and Description |
---|---|
long |
getLongValue()
Returns the value corresponding to this entry.
|
default java.lang.Long |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
setValue(long value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
default java.lang.Long |
setValue(java.lang.Long value)
Deprecated.
Please use the corresponding type-specific method instead.
|
long getLongValue()
Map.Entry.getValue()
long setValue(long value)
Map.Entry.setValue(Object)
@Deprecated default java.lang.Long getValue()
getValue
in interface java.util.Map.Entry<K,java.lang.Long>
@Deprecated default java.lang.Long setValue(java.lang.Long value)
setValue
in interface java.util.Map.Entry<K,java.lang.Long>