Uses of Class
org.multiverse.api.functions.BooleanFunction
-
Packages that use BooleanFunction Package Description org.multiverse.api.functions org.multiverse.api.references org.multiverse.stms.gamma.transactionalobjects -
-
Uses of BooleanFunction in org.multiverse.api.functions
Methods in org.multiverse.api.functions that return BooleanFunction Modifier and Type Method Description static BooleanFunction
Functions. identityBooleanFunction()
Returns aBooleanFunction
that returns the argument.static BooleanFunction
Functions. inverseBooleanFunction()
Returns aBooleanFunction
that inverts the argument. -
Uses of BooleanFunction in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type BooleanFunction Modifier and Type Method Description boolean
TxnBoolean. alterAndGet(BooleanFunction function)
Alters the value stored in this Ref using the provided function and returns the result.boolean
TxnBoolean. alterAndGet(Txn txn, BooleanFunction function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.boolean
TxnBoolean. atomicAlterAndGet(BooleanFunction function)
Atomically applies the function to the current value in this ref and returns the new value.boolean
TxnBoolean. atomicGetAndAlter(BooleanFunction function)
Atomically applies the function to alter the value stored in this ref and returns the old value.void
TxnBoolean. commute(BooleanFunction function)
Applies the function on the ref in a commuting manner.void
TxnBoolean. commute(Txn txn, BooleanFunction function)
Applies the function on the ref in a commuting manner.boolean
TxnBoolean. getAndAlter(BooleanFunction function)
Alters the value stored in this Ref using the provided function amd returns the old value.boolean
TxnBoolean. getAndAlter(Txn txn, BooleanFunction function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn. -
Uses of BooleanFunction in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type BooleanFunction Modifier and Type Method Description boolean
GammaTxnBoolean. alter(GammaTxn tx, BooleanFunction function, boolean returnOld)
boolean
GammaTxnBoolean. alterAndGet(BooleanFunction function)
boolean
GammaTxnBoolean. alterAndGet(Txn tx, BooleanFunction function)
boolean
GammaTxnBoolean. alterAndGet(GammaTxn tx, BooleanFunction function)
boolean
GammaTxnBoolean. atomicAlterAndGet(BooleanFunction function)
boolean
GammaTxnBoolean. atomicGetAndAlter(BooleanFunction function)
void
GammaTxnBoolean. commute(BooleanFunction function)
void
GammaTxnBoolean. commute(Txn tx, BooleanFunction function)
void
GammaTxnBoolean. commute(GammaTxn tx, BooleanFunction function)
boolean
GammaTxnBoolean. getAndAlter(BooleanFunction function)
boolean
GammaTxnBoolean. getAndAlter(Txn tx, BooleanFunction function)
boolean
GammaTxnBoolean. getAndAlter(GammaTxn tx, BooleanFunction function)
-