Uses of Class
org.multiverse.api.functions.LongFunction
-
Packages that use LongFunction Package Description org.multiverse.api.functions org.multiverse.api.references org.multiverse.stms.gamma.transactionalobjects -
-
Uses of LongFunction in org.multiverse.api.functions
Subclasses of LongFunction in org.multiverse.api.functions Modifier and Type Class Description private static classFunctions.IncLongFunctionFields in org.multiverse.api.functions declared as LongFunction Modifier and Type Field Description private static LongFunctionFunctions. decOneLongFunctionprivate static LongFunctionFunctions. identityLongFunctionprivate static LongFunctionFunctions. incOneLongFunctionMethods in org.multiverse.api.functions that return LongFunction Modifier and Type Method Description static 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 LongFunction Modifier and Type Method Description longTxnLong. 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 LongFunction Modifier and Type Method Description private longGammaTxnLong. alter(GammaTxn tx, LongFunction function, boolean returnOld)longGammaTxnLong. alterAndGet(LongFunction function)longGammaTxnLong. alterAndGet(Txn tx, LongFunction function)longGammaTxnLong. alterAndGet(GammaTxn tx, LongFunction function)private longGammaTxnLong. atomicAlter(LongFunction function, boolean returnOld)longGammaTxnLong. atomicAlterAndGet(LongFunction function)longGammaTxnLong. atomicGetAndAlter(LongFunction function)voidGammaTxnLong. commute(LongFunction function)voidGammaTxnLong. commute(Txn tx, LongFunction function)voidGammaTxnLong. commute(GammaTxn tx, LongFunction function)longGammaTxnLong. getAndAlter(LongFunction function)longGammaTxnLong. getAndAlter(Txn tx, LongFunction function)longGammaTxnLong. getAndAlter(GammaTxn tx, LongFunction function)
-