public static interface Double2LongMap.Entry extends Map.Entry<Double,Long>
Map.Entry; provides some additional
methods that use polymorphism to avoid (un)boxing.Map.Entry| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleKey()
Returns the key corresponding to this entry.
|
Double |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
long |
getLongValue()
Returns the value corresponding to this entry.
|
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).
|
Long |
setValue(Long value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodedouble getDoubleKey()
Map.Entry.getKey()@Deprecated Double getKey()
long getLongValue()
Map.Entry.getValue()long setValue(long value)
Map.Entry.setValue(Object)@Deprecated Long getValue()
@Deprecated Long setValue(Long value)