public static class AbstractShort2DoubleMap.BasicEntry extends java.lang.Object implements Short2DoubleMap.Entry
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(short key,
double value) |
BasicEntry(java.lang.Short key,
java.lang.Double value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
double |
getDoubleValue() |
java.lang.Short |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
getShortKey() |
java.lang.Double |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
double |
setValue(double value) |
java.lang.Double |
setValue(java.lang.Double value)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.String |
toString() |
public BasicEntry(java.lang.Short key,
java.lang.Double value)
public BasicEntry(short key,
double value)
@Deprecated public java.lang.Short getKey()
getKey in interface Short2DoubleMap.EntrygetKey in interface java.util.Map.Entry<java.lang.Short,java.lang.Double>public short getShortKey()
getShortKey in interface Short2DoubleMap.EntryMap.Entry.getKey()@Deprecated public java.lang.Double getValue()
getValue in interface Short2DoubleMap.EntrygetValue in interface java.util.Map.Entry<java.lang.Short,java.lang.Double>public double getDoubleValue()
getDoubleValue in interface Short2DoubleMap.EntryMap.Entry.getValue()public double setValue(double value)
setValue in interface Short2DoubleMap.EntryMap.Entry.setValue(Object)@Deprecated public java.lang.Double setValue(java.lang.Double value)
setValue in interface java.util.Map.Entry<java.lang.Short,java.lang.Double>public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<java.lang.Short,java.lang.Double>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.Short,java.lang.Double>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object