Modul speiger.src.collections
Klasse BooleanObjectImmutablePair<V>
java.lang.Object
speiger.src.collections.booleans.misc.pairs.impl.BooleanObjectImmutablePair<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
BooleanObjectPair<V>
Mutable Pair Implementation that
-
Feldübersicht
Von Schnittstelle geerbte Felder speiger.src.collections.booleans.misc.pairs.BooleanObjectPair
EMPTY -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDefault ConstructorBooleanObjectImmutablePair(boolean key, V value) Key/Value Constructur -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleangetValue()inthashCode()Sets key and value of the PairsetBooleanKey(boolean key) Sets the Key of the Pair.Sets the Value of the Pair.Clones the Pair if it is mutable.toString()
-
Konstruktordetails
-
BooleanObjectImmutablePair
public BooleanObjectImmutablePair()Default Constructor -
BooleanObjectImmutablePair
Key/Value Constructur- Parameter:
key- the key of the Pairvalue- the value of the Pair
-
-
Methodendetails
-
setBooleanKey
Beschreibung aus Schnittstelle kopiert:BooleanObjectPairSets the Key of the Pair.- Angegeben von:
setBooleanKeyin SchnittstelleBooleanObjectPair<V>- Parameter:
key- the key that should be set.- Gibt zurück:
- self or a new Pair instance with the new key.
-
getBooleanKey
public boolean getBooleanKey()- Angegeben von:
getBooleanKeyin SchnittstelleBooleanObjectPair<V>- Gibt zurück:
- the Key of the Pair
-
setValue
Beschreibung aus Schnittstelle kopiert:BooleanObjectPairSets the Value of the Pair.- Angegeben von:
setValuein SchnittstelleBooleanObjectPair<V>- Parameter:
value- the value that should be set.- Gibt zurück:
- self or a new Pair instance with the new value.
-
getValue
- Angegeben von:
getValuein SchnittstelleBooleanObjectPair<V>- Gibt zurück:
- the Value of the Pair
-
set
Beschreibung aus Schnittstelle kopiert:BooleanObjectPairSets key and value of the Pair- Angegeben von:
setin SchnittstelleBooleanObjectPair<V>- Parameter:
key- the key that should be set.value- the value that should be set.- Gibt zurück:
- self or a new Pair instance with the new key and value.
-
shallowCopy
Beschreibung aus Schnittstelle kopiert:BooleanObjectPairClones the Pair if it is mutable.- Angegeben von:
shallowCopyin SchnittstelleBooleanObjectPair<V>- Gibt zurück:
- a New Mutable Instance if it is mutable
-
equals
-
hashCode
public int hashCode() -
toString
-