Uses of Interface
org.multiverse.api.functions.Function
-
Packages that use Function Package Description org.multiverse.api.functions org.multiverse.api.references org.multiverse.stms.gamma.transactionalobjects org.multiverse.stms.gamma.transactions -
-
Uses of Function in org.multiverse.api.functions
Classes in org.multiverse.api.functions that implement Function Modifier and Type Class Description class
BooleanFunction
AFunction
for primitives that accepts an argument of type boolean and returns a new value of the same type.class
DoubleFunction
AFunction
for primitives that accepts an argument of type double and returns a new value of the same type.class
IncIntFunction
AIntFunction
that increased the value with the supplied amount.class
IntFunction
AFunction
for primitives that accepts an argument of type int and returns a new value of the same type.class
LongFunction
AFunction
for primitives that accepts an argument of type long and returns a new value of the same type.Methods in org.multiverse.api.functions that return Function Modifier and Type Method Description static Function
Functions. identityFunction()
Returns anFunction
that returns its input. -
Uses of Function in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type Function Modifier and Type Method Description E
TxnRef. alterAndGet(Function<E> function)
Alters the value stored in this Ref using the provided function and returns the result.E
TxnRef. alterAndGet(Txn txn, Function<E> function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn.E
TxnRef. atomicAlterAndGet(Function<E> function)
Atomically applies the function to the current value in this ref and returns the new value.E
TxnRef. atomicGetAndAlter(Function<E> function)
Atomically applies the function to alter the value stored in this ref and returns the old value.void
TxnRef. commute(Function<E> function)
Applies the function on the ref in a commuting manner.void
TxnRef. commute(Txn txn, Function<E> function)
Applies the function on the ref in a commuting manner.E
TxnRef. getAndAlter(Function<E> function)
Alters the value stored in this Ref using the provided function amd returns the old value.E
TxnRef. getAndAlter(Txn txn, Function<E> function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn. -
Uses of Function in org.multiverse.stms.gamma.transactionalobjects
Fields in org.multiverse.stms.gamma.transactionalobjects declared as Function Modifier and Type Field Description Function
CallableNode. function
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type Function Modifier and Type Method Description void
Tranlocal. addCommutingFunction(GammaObjectPool pool, Function function)
E
GammaTxnRef. alterAndGet(Function<E> function)
E
GammaTxnRef. alterAndGet(Txn tx, Function<E> function)
E
GammaTxnRef. alterAndGet(GammaTxn tx, Function<E> function)
E
GammaTxnRef. atomicAlterAndGet(Function<E> function)
E
GammaTxnRef. atomicGetAndAlter(Function<E> function)
void
GammaTxnRef. commute(Function<E> function)
void
GammaTxnRef. commute(Txn tx, Function<E> function)
void
GammaTxnRef. commute(GammaTxn tx, Function<E> function)
E
GammaTxnRef. getAndAlter(Function<E> function)
E
GammaTxnRef. getAndAlter(Txn tx, Function<E> function)
E
GammaTxnRef. getAndAlter(GammaTxn tx, Function<E> function)
void
BaseGammaTxnRef. openForCommute(FatFixedLengthGammaTxn tx, Function function)
void
BaseGammaTxnRef. openForCommute(FatMonoGammaTxn tx, Function function)
void
BaseGammaTxnRef. openForCommute(FatVariableLengthGammaTxn tx, Function function)
void
BaseGammaTxnRef. openForCommute(GammaTxn tx, Function function)
Constructors in org.multiverse.stms.gamma.transactionalobjects with parameters of type Function Constructor Description CallableNode(Function function, CallableNode next)
-
Uses of Function in org.multiverse.stms.gamma.transactions
Methods in org.multiverse.stms.gamma.transactions with parameters of type Function Modifier and Type Method Description IllegalTxnStateException
GammaTxn. abortCommuteOnBadStatus(GammaObject object, Function function)
-