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