public static class AbstractFloat2IntMap.BasicEntry extends java.lang.Object implements Float2IntMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractFloat2IntMap.BasicEntry(float key,
int value) |
AbstractFloat2IntMap.BasicEntry(java.lang.Float key,
java.lang.Integer value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
float |
getFloatKey() |
int |
getIntValue() |
java.lang.Float |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Integer |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
int |
setValue(int value) |
java.lang.Integer |
setValue(java.lang.Integer value)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.String |
toString() |
public AbstractFloat2IntMap.BasicEntry(java.lang.Float key, java.lang.Integer value)
public AbstractFloat2IntMap.BasicEntry(float key, int value)
@Deprecated public java.lang.Float getKey()
getKey
in interface Float2IntMap.Entry
getKey
in interface java.util.Map.Entry<java.lang.Float,java.lang.Integer>
public float getFloatKey()
getFloatKey
in interface Float2IntMap.Entry
Map.Entry.getKey()
@Deprecated public java.lang.Integer getValue()
getValue
in interface Float2IntMap.Entry
getValue
in interface java.util.Map.Entry<java.lang.Float,java.lang.Integer>
public int getIntValue()
getIntValue
in interface Float2IntMap.Entry
Map.Entry.getValue()
public int setValue(int value)
setValue
in interface Float2IntMap.Entry
Map.Entry.setValue(Object)
@Deprecated public java.lang.Integer setValue(java.lang.Integer value)
setValue
in interface java.util.Map.Entry<java.lang.Float,java.lang.Integer>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry<java.lang.Float,java.lang.Integer>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry<java.lang.Float,java.lang.Integer>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object