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