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