Uses of Interface
org.multiverse.api.functions.Function
Packages that use Function
Package
Description
-
Uses of Function in org.multiverse.api.functions
Classes in org.multiverse.api.functions that implement FunctionModifier and TypeClassDescriptionclass
AFunction
for primitives that accepts an argument of type boolean and returns a new value of the same type.class
AFunction
for primitives that accepts an argument of type double and returns a new value of the same type.private static class
private static class
private static class
private static class
final class
AIntFunction
that increased the value with the supplied amount.class
AFunction
for primitives that accepts an argument of type int and returns a new value of the same type.class
AFunction
for primitives that accepts an argument of type long and returns a new value of the same type.Fields in org.multiverse.api.functions declared as FunctionMethods in org.multiverse.api.functions that return FunctionModifier and TypeMethodDescriptionstatic 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 FunctionModifier and TypeMethodDescriptionTxnRef.alterAndGet
(Function<E> function) Alters the value stored in this Ref using the provided function and returns the result.TxnRef.alterAndGet
(Txn txn, Function<E> function) Alters the value stored in this Ref using the provided function and lifting on the provided txn.TxnRef.atomicAlterAndGet
(Function<E> function) Atomically applies the function to the current value in this ref and returns the new value.TxnRef.atomicGetAndAlter
(Function<E> function) Atomically applies the function to alter the value stored in this ref and returns the old value.void
Applies the function on the ref in a commuting manner.void
Applies the function on the ref in a commuting manner.TxnRef.getAndAlter
(Function<E> function) Alters the value stored in this Ref using the provided function amd returns the old value.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 FunctionMethods in org.multiverse.stms.gamma.transactionalobjects with parameters of type FunctionModifier and TypeMethodDescriptionvoid
Tranlocal.addCommutingFunction
(GammaObjectPool pool, Function function) private E
final E
GammaTxnRef.alterAndGet
(Function<E> function) final E
GammaTxnRef.alterAndGet
(Txn tx, Function<E> function) final E
GammaTxnRef.alterAndGet
(GammaTxn tx, Function<E> function) private E
GammaTxnRef.atomicAlter
(Function<E> function, boolean returnOld) final E
GammaTxnRef.atomicAlterAndGet
(Function<E> function) final E
GammaTxnRef.atomicGetAndAlter
(Function<E> function) final void
final void
final void
private void
final E
GammaTxnRef.getAndAlter
(Function<E> function) final E
GammaTxnRef.getAndAlter
(Txn tx, Function<E> function) final E
GammaTxnRef.getAndAlter
(GammaTxn tx, Function<E> function) final void
BaseGammaTxnRef.openForCommute
(FatFixedLengthGammaTxn tx, Function function) final void
BaseGammaTxnRef.openForCommute
(FatMonoGammaTxn tx, Function function) final void
BaseGammaTxnRef.openForCommute
(FatVariableLengthGammaTxn tx, Function function) final void
BaseGammaTxnRef.openForCommute
(GammaTxn tx, Function function) Constructors in org.multiverse.stms.gamma.transactionalobjects with parameters of type Function -
Uses of Function in org.multiverse.stms.gamma.transactions
Methods in org.multiverse.stms.gamma.transactions with parameters of type FunctionModifier and TypeMethodDescriptionGammaTxn.abortCommuteOnBadStatus
(GammaObject object, Function function)