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