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