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