public class BooleanByteMutablePair extends java.lang.Object implements BooleanBytePair
EMPTY| Constructor and Description |
|---|
BooleanByteMutablePair()
Default Constructor
|
BooleanByteMutablePair(boolean key,
byte value)
Key/Value Constructur
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getBooleanKey() |
byte |
getByteValue() |
int |
hashCode() |
BooleanBytePair |
set(boolean key,
byte value)
Sets key and value of the Pair
|
BooleanBytePair |
setBooleanKey(boolean key)
Sets the Key of the Pair.
|
BooleanBytePair |
setByteValue(byte value)
Sets the Value of the Pair.
|
BooleanBytePair |
shallowCopy()
Clones the Pair if it is mutable.
|
java.lang.String |
toString() |
mutable, mutable, mutable, mutableKey, mutableValue, of, of, of, ofKey, ofValuepublic BooleanByteMutablePair()
public BooleanByteMutablePair(boolean key,
byte value)
key - the key of the Pairvalue - the value of the Pairpublic BooleanBytePair setBooleanKey(boolean key)
BooleanBytePairsetBooleanKey in interface BooleanBytePairkey - the key that should be set.public boolean getBooleanKey()
getBooleanKey in interface BooleanBytePairpublic BooleanBytePair setByteValue(byte value)
BooleanBytePairsetByteValue in interface BooleanBytePairvalue - the value that should be set.public byte getByteValue()
getByteValue in interface BooleanBytePairpublic BooleanBytePair set(boolean key, byte value)
BooleanBytePairset in interface BooleanBytePairkey - the key that should be set.value - the value that should be set.public BooleanBytePair shallowCopy()
BooleanBytePairshallowCopy in interface BooleanBytePairpublic 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