public class BooleanBooleanMutablePair extends java.lang.Object implements BooleanBooleanPair
EMPTY| Constructor and Description |
|---|
BooleanBooleanMutablePair()
Default Constructor
|
BooleanBooleanMutablePair(boolean key,
boolean value)
Key/Value Constructur
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getBooleanKey() |
boolean |
getBooleanValue() |
int |
hashCode() |
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.
|
java.lang.String |
toString() |
mutable, mutable, mutable, mutableKey, mutableValue, of, of, of, ofKey, ofValuepublic BooleanBooleanMutablePair()
public BooleanBooleanMutablePair(boolean key,
boolean value)
key - the key of the Pairvalue - the value of the Pairpublic BooleanBooleanPair setBooleanKey(boolean key)
BooleanBooleanPairsetBooleanKey in interface BooleanBooleanPairkey - the key that should be set.public boolean getBooleanKey()
getBooleanKey in interface BooleanBooleanPairpublic BooleanBooleanPair setBooleanValue(boolean value)
BooleanBooleanPairsetBooleanValue in interface BooleanBooleanPairvalue - the value that should be set.public boolean getBooleanValue()
getBooleanValue in interface BooleanBooleanPairpublic BooleanBooleanPair set(boolean key, boolean value)
BooleanBooleanPairset in interface BooleanBooleanPairkey - the key that should be set.value - the value that should be set.public BooleanBooleanPair shallowCopy()
BooleanBooleanPairshallowCopy in interface BooleanBooleanPairpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object