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