public class FloatFloatMutablePair extends java.lang.Object implements FloatFloatPair
EMPTY| Constructor and Description |
|---|
FloatFloatMutablePair()
Default Constructor
|
FloatFloatMutablePair(float key,
float value)
Key/Value Constructur
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
float |
getFloatKey() |
float |
getFloatValue() |
int |
hashCode() |
FloatFloatPair |
set(float key,
float value)
Sets key and value of the Pair
|
FloatFloatPair |
setFloatKey(float key)
Sets the Key of the Pair.
|
FloatFloatPair |
setFloatValue(float value)
Sets the Value of the Pair.
|
FloatFloatPair |
shallowCopy()
Clones the Pair if it is mutable.
|
java.lang.String |
toString() |
mutable, mutable, mutable, mutableKey, mutableValue, of, of, of, ofKey, ofValuepublic FloatFloatMutablePair()
public FloatFloatMutablePair(float key,
float value)
key - the key of the Pairvalue - the value of the Pairpublic FloatFloatPair setFloatKey(float key)
FloatFloatPairsetFloatKey in interface FloatFloatPairkey - the key that should be set.public float getFloatKey()
getFloatKey in interface FloatFloatPairpublic FloatFloatPair setFloatValue(float value)
FloatFloatPairsetFloatValue in interface FloatFloatPairvalue - the value that should be set.public float getFloatValue()
getFloatValue in interface FloatFloatPairpublic FloatFloatPair set(float key, float value)
FloatFloatPairset in interface FloatFloatPairkey - the key that should be set.value - the value that should be set.public FloatFloatPair shallowCopy()
FloatFloatPairshallowCopy in interface FloatFloatPairpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object