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