public interface FloatFloatPair
| Modifier and Type | Field and Description |
|---|---|
static FloatFloatPair |
EMPTY
Empty Reference for Immutable Pairs
|
| Modifier and Type | Method and Description |
|---|---|
float |
getFloatKey() |
float |
getFloatValue() |
static FloatFloatPair |
mutable() |
static FloatFloatPair |
mutable(float key,
float value) |
static FloatFloatPair |
mutable(FloatFloatPair pair) |
static FloatFloatPair |
mutableKey(float key) |
static FloatFloatPair |
mutableValue(float value) |
static FloatFloatPair |
of() |
static FloatFloatPair |
of(float key,
float value) |
static FloatFloatPair |
of(FloatFloatPair pair) |
static FloatFloatPair |
ofKey(float key) |
static FloatFloatPair |
ofValue(float value) |
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.
|
static final FloatFloatPair EMPTY
static FloatFloatPair of()
static FloatFloatPair ofKey(float key)
key - the key that should be in the pairstatic FloatFloatPair ofValue(float value)
value - the value that should be in the pairstatic FloatFloatPair of(float key, float value)
key - the key that should be in the pairvalue - the value that should be in the pairstatic FloatFloatPair of(FloatFloatPair pair)
pair - the Pair that should be immutably copiedstatic FloatFloatPair mutable()
static FloatFloatPair mutableKey(float key)
key - the key that should be in the pairstatic FloatFloatPair mutableValue(float value)
value - the value that should be in the pairstatic FloatFloatPair mutable(float key, float value)
key - the key that should be in the pairvalue - the value that should be in the pairstatic FloatFloatPair mutable(FloatFloatPair pair)
pair - the Pair that should be copiedFloatFloatPair setFloatKey(float key)
key - the key that should be set.float getFloatKey()
FloatFloatPair setFloatValue(float value)
value - the value that should be set.float getFloatValue()
FloatFloatPair set(float key, float value)
key - the key that should be set.value - the value that should be set.FloatFloatPair shallowCopy()