public static interface Long2DoubleMap.Entry extends Map.Entry<Long,Double>
Map.Entry; provides some additional
methods that use polymorphism to avoid (un)boxing.Map.Entry| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleValue()
Returns the value corresponding to this entry.
|
Long |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
long |
getLongKey()
Returns the key corresponding to this entry.
|
Double |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
double |
setValue(double value)
Replaces the value corresponding to this entry with the specified
value (optional operation).
|
Double |
setValue(Double value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodelong getLongKey()
Map.Entry.getKey()@Deprecated Long getKey()
double getDoubleValue()
Map.Entry.getValue()double setValue(double value)
Map.Entry.setValue(Object)@Deprecated Double getValue()
@Deprecated Double setValue(Double value)