Uses of Class
org.multiverse.api.functions.BooleanFunction
Packages that use BooleanFunction
Package
Description
-
Uses of BooleanFunction in org.multiverse.api.functions
Fields in org.multiverse.api.functions declared as BooleanFunctionModifier and TypeFieldDescriptionprivate static final BooleanFunction
Functions.identityBooleanFunction
private static final BooleanFunction
Functions.inverseBooleanFunction
Methods in org.multiverse.api.functions that return BooleanFunctionModifier and TypeMethodDescriptionstatic 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 BooleanFunctionModifier and TypeMethodDescriptionboolean
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 BooleanFunctionModifier and TypeMethodDescriptionfinal boolean
GammaTxnBoolean.alter
(GammaTxn tx, BooleanFunction function, boolean returnOld) final boolean
GammaTxnBoolean.alterAndGet
(BooleanFunction function) final boolean
GammaTxnBoolean.alterAndGet
(Txn tx, BooleanFunction function) final boolean
GammaTxnBoolean.alterAndGet
(GammaTxn tx, BooleanFunction function) private boolean
GammaTxnBoolean.atomicAlter
(BooleanFunction function, boolean returnOld) final boolean
GammaTxnBoolean.atomicAlterAndGet
(BooleanFunction function) final boolean
GammaTxnBoolean.atomicGetAndAlter
(BooleanFunction function) final void
GammaTxnBoolean.commute
(BooleanFunction function) final void
GammaTxnBoolean.commute
(Txn tx, BooleanFunction function) final void
GammaTxnBoolean.commute
(GammaTxn tx, BooleanFunction function) final boolean
GammaTxnBoolean.getAndAlter
(BooleanFunction function) final boolean
GammaTxnBoolean.getAndAlter
(Txn tx, BooleanFunction function) final boolean
GammaTxnBoolean.getAndAlter
(GammaTxn tx, BooleanFunction function)