public interface FloatDoublePair
| Modifier and Type | Field and Description |
|---|---|
static FloatDoublePair |
EMPTY
Empty Reference for Immutable Pairs
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleValue() |
float |
getFloatKey() |
static FloatDoublePair |
mutable() |
static FloatDoublePair |
mutable(float key,
double value) |
static FloatDoublePair |
mutable(FloatDoublePair pair) |
static FloatDoublePair |
mutableKey(float key) |
static FloatDoublePair |
mutableValue(double value) |
static FloatDoublePair |
of() |
static FloatDoublePair |
of(float key,
double value) |
static FloatDoublePair |
of(FloatDoublePair pair) |
static FloatDoublePair |
ofKey(float key) |
static FloatDoublePair |
ofValue(double value) |
FloatDoublePair |
set(float key,
double value)
Sets key and value of the Pair
|
FloatDoublePair |
setDoubleValue(double value)
Sets the Value of the Pair.
|
FloatDoublePair |
setFloatKey(float key)
Sets the Key of the Pair.
|
FloatDoublePair |
shallowCopy()
Clones the Pair if it is mutable.
|
static final FloatDoublePair EMPTY
static FloatDoublePair of()
static FloatDoublePair ofKey(float key)
key - the key that should be in the pairstatic FloatDoublePair ofValue(double value)
value - the value that should be in the pairstatic FloatDoublePair of(float key, double value)
key - the key that should be in the pairvalue - the value that should be in the pairstatic FloatDoublePair of(FloatDoublePair pair)
pair - the Pair that should be immutably copiedstatic FloatDoublePair mutable()
static FloatDoublePair mutableKey(float key)
key - the key that should be in the pairstatic FloatDoublePair mutableValue(double value)
value - the value that should be in the pairstatic FloatDoublePair mutable(float key, double value)
key - the key that should be in the pairvalue - the value that should be in the pairstatic FloatDoublePair mutable(FloatDoublePair pair)
pair - the Pair that should be copiedFloatDoublePair setFloatKey(float key)
key - the key that should be set.float getFloatKey()
FloatDoublePair setDoubleValue(double value)
value - the value that should be set.double getDoubleValue()
FloatDoublePair set(float key, double value)
key - the key that should be set.value - the value that should be set.FloatDoublePair shallowCopy()