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