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 classBooleanFunctionAFunctionfor primitives that accepts an argument of type boolean and returns a new value of the same type.classDoubleFunctionAFunctionfor primitives that accepts an argument of type double and returns a new value of the same type.private static classFunctions.IdentityDoubleFunctionprivate static classFunctions.IncDoubleFunctionprivate static classFunctions.IncIntFunctionprivate static classFunctions.IncLongFunctionclassIncIntFunctionAIntFunctionthat increased the value with the supplied amount.classIntFunctionAFunctionfor primitives that accepts an argument of type int and returns a new value of the same type.classLongFunctionAFunctionfor 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 Function Modifier and Type Field Description private static FunctionFunctions. identityFunctionMethods in org.multiverse.api.functions that return Function Modifier and Type Method Description static FunctionFunctions. identityFunction()Returns anFunctionthat 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 ETxnRef. alterAndGet(Function<E> function)Alters the value stored in this Ref using the provided function and returns the result.ETxnRef. alterAndGet(Txn txn, Function<E> function)Alters the value stored in this Ref using the provided function and lifting on the provided txn.ETxnRef. atomicAlterAndGet(Function<E> function)Atomically applies the function to the current value in this ref and returns the new value.ETxnRef. atomicGetAndAlter(Function<E> function)Atomically applies the function to alter the value stored in this ref and returns the old value.voidTxnRef. commute(Function<E> function)Applies the function on the ref in a commuting manner.voidTxnRef. commute(Txn txn, Function<E> function)Applies the function on the ref in a commuting manner.ETxnRef. getAndAlter(Function<E> function)Alters the value stored in this Ref using the provided function amd returns the old value.ETxnRef. 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 FunctionCallableNode. functionMethods in org.multiverse.stms.gamma.transactionalobjects with parameters of type Function Modifier and Type Method Description voidTranlocal. addCommutingFunction(GammaObjectPool pool, Function function)private EGammaTxnRef. alter(GammaTxn tx, Function<E> function, boolean returnOld)EGammaTxnRef. alterAndGet(Function<E> function)EGammaTxnRef. alterAndGet(Txn tx, Function<E> function)EGammaTxnRef. alterAndGet(GammaTxn tx, Function<E> function)private EGammaTxnRef. atomicAlter(Function<E> function, boolean returnOld)EGammaTxnRef. atomicAlterAndGet(Function<E> function)EGammaTxnRef. atomicGetAndAlter(Function<E> function)voidGammaTxnRef. commute(Function<E> function)voidGammaTxnRef. commute(Txn tx, Function<E> function)voidGammaTxnRef. commute(GammaTxn tx, Function<E> function)private voidBaseGammaTxnRef. evaluate(Tranlocal tranlocal, GammaTxn tx, Function function)EGammaTxnRef. getAndAlter(Function<E> function)EGammaTxnRef. getAndAlter(Txn tx, Function<E> function)EGammaTxnRef. getAndAlter(GammaTxn tx, Function<E> function)voidBaseGammaTxnRef. openForCommute(FatFixedLengthGammaTxn tx, Function function)voidBaseGammaTxnRef. openForCommute(FatMonoGammaTxn tx, Function function)voidBaseGammaTxnRef. openForCommute(FatVariableLengthGammaTxn tx, Function function)voidBaseGammaTxnRef. 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 IllegalTxnStateExceptionGammaTxn. abortCommuteOnBadStatus(GammaObject object, Function function)
-