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 TypeClassDescriptionclassAFunctionfor primitives that accepts an argument of type boolean and returns a new value of the same type.classAFunctionfor primitives that accepts an argument of type double and returns a new value of the same type.final classAIntFunctionthat increased the value with the supplied amount.classAFunctionfor primitives that accepts an argument of type int and returns a new value of the same type.classAFunctionfor 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 FunctionModifier and TypeMethodDescriptionstatic 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 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.voidApplies the function on the ref in a commuting manner.voidApplies 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 TypeMethodDescriptionvoidTranlocal.addCommutingFunction(GammaObjectPool pool, Function function) final EGammaTxnRef.alterAndGet(Function<E> function) final EGammaTxnRef.alterAndGet(Txn tx, Function<E> function) final EGammaTxnRef.alterAndGet(GammaTxn tx, Function<E> function) final EGammaTxnRef.atomicAlterAndGet(Function<E> function) final EGammaTxnRef.atomicGetAndAlter(Function<E> function) final voidfinal voidfinal voidfinal EGammaTxnRef.getAndAlter(Function<E> function) final EGammaTxnRef.getAndAlter(Txn tx, Function<E> function) final EGammaTxnRef.getAndAlter(GammaTxn tx, Function<E> function) final voidBaseGammaTxnRef.openForCommute(FatFixedLengthGammaTxn tx, Function function) final voidBaseGammaTxnRef.openForCommute(FatMonoGammaTxn tx, Function function) final voidBaseGammaTxnRef.openForCommute(FatVariableLengthGammaTxn tx, Function function) final voidBaseGammaTxnRef.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)