Uses of Class
org.multiverse.api.functions.LongFunction
Packages that use LongFunction
Package
Description
-
Uses of LongFunction in org.multiverse.api.functions
Subclasses of LongFunction in org.multiverse.api.functionsFields in org.multiverse.api.functions declared as LongFunctionModifier and TypeFieldDescriptionprivate static final LongFunctionFunctions.decOneLongFunctionprivate static final LongFunctionFunctions.identityLongFunctionprivate static final LongFunctionFunctions.incOneLongFunctionMethods in org.multiverse.api.functions that return LongFunctionModifier and TypeMethodDescriptionstatic LongFunctionFunctions.decLongFunction()Returns aLongFunctionthat decrements the input value by one.static LongFunctionFunctions.identityLongFunction()Returns an identityLongFunction(a function that returns its input value).static LongFunctionFunctions.incLongFunction()Returns aLongFunctionthat increments the input value by one.static LongFunctionFunctions.incLongFunction(long amount) Returns aLongFunctionthat increments with the given amount. -
Uses of LongFunction in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type LongFunctionModifier and TypeMethodDescriptionlongTxnLong.alterAndGet(LongFunction function) Alters the value stored in this Ref using the provided function and returns the result.longTxnLong.alterAndGet(Txn txn, LongFunction function) Alters the value stored in this Ref using the provided function and lifting on the provided txn.longTxnLong.atomicAlterAndGet(LongFunction function) Atomically applies the function to the current value in this ref and returns the new value.longTxnLong.atomicGetAndAlter(LongFunction function) Atomically applies the function to alter the value stored in this ref and returns the old value.voidTxnLong.commute(LongFunction function) Applies the function on the ref in a commuting manner.voidTxnLong.commute(Txn txn, LongFunction function) Applies the function on the ref in a commuting manner.longTxnLong.getAndAlter(LongFunction function) Alters the value stored in this Ref using the provided function amd returns the old value.longTxnLong.getAndAlter(Txn txn, LongFunction function) Alters the value stored in this Ref using the function and returns the old value, using the provided txn. -
Uses of LongFunction in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type LongFunctionModifier and TypeMethodDescriptionprivate longGammaTxnLong.alter(GammaTxn tx, LongFunction function, boolean returnOld) final longGammaTxnLong.alterAndGet(LongFunction function) final longGammaTxnLong.alterAndGet(Txn tx, LongFunction function) final longGammaTxnLong.alterAndGet(GammaTxn tx, LongFunction function) private longGammaTxnLong.atomicAlter(LongFunction function, boolean returnOld) final longGammaTxnLong.atomicAlterAndGet(LongFunction function) final longGammaTxnLong.atomicGetAndAlter(LongFunction function) final voidGammaTxnLong.commute(LongFunction function) final voidGammaTxnLong.commute(Txn tx, LongFunction function) final voidGammaTxnLong.commute(GammaTxn tx, LongFunction function) final longGammaTxnLong.getAndAlter(LongFunction function) final longGammaTxnLong.getAndAlter(Txn tx, LongFunction function) final longGammaTxnLong.getAndAlter(GammaTxn tx, LongFunction function)