Uses of Class
org.multiverse.api.functions.DoubleFunction
-
Packages that use DoubleFunction Package Description org.multiverse.api.functions org.multiverse.api.references org.multiverse.stms.gamma.transactionalobjects -
-
Uses of DoubleFunction in org.multiverse.api.functions
Subclasses of DoubleFunction in org.multiverse.api.functions Modifier and Type Class Description private static classFunctions.IdentityDoubleFunctionprivate static classFunctions.IncDoubleFunctionFields in org.multiverse.api.functions declared as DoubleFunction Modifier and Type Field Description private static DoubleFunctionFunctions. identityDoubleFunctionprivate static DoubleFunctionFunctions. incOneDoubleFunctionMethods in org.multiverse.api.functions that return DoubleFunction Modifier and Type Method Description static DoubleFunctionFunctions. identityDoubleFunction()Returns anDoubleFunctionthat returns its input.static DoubleFunctionFunctions. incDoubleFunction()Returns aDoubleFunctionthat increments the input with one. -
Uses of DoubleFunction in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type DoubleFunction Modifier and Type Method Description doubleTxnDouble. alterAndGet(DoubleFunction function)Alters the value stored in this Ref using the provided function and returns the result.doubleTxnDouble. alterAndGet(Txn txn, DoubleFunction function)Alters the value stored in this Ref using the provided function and lifting on the provided txn.doubleTxnDouble. atomicAlterAndGet(DoubleFunction function)Atomically applies the function to the current value in this ref and returns the new value.doubleTxnDouble. atomicGetAndAlter(DoubleFunction function)Atomically applies the function to alter the value stored in this ref and returns the old value.voidTxnDouble. commute(DoubleFunction function)Applies the function on the ref in a commuting manner.voidTxnDouble. commute(Txn txn, DoubleFunction function)Applies the function on the ref in a commuting manner.doubleTxnDouble. getAndAlter(DoubleFunction function)Alters the value stored in this Ref using the provided function amd returns the old value.doubleTxnDouble. getAndAlter(Txn txn, DoubleFunction function)Alters the value stored in this Ref using the function and returns the old value, using the provided txn. -
Uses of DoubleFunction in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type DoubleFunction Modifier and Type Method Description doubleGammaTxnDouble. alter(GammaTxn tx, DoubleFunction function, boolean returnOld)doubleGammaTxnDouble. alterAndGet(DoubleFunction function)doubleGammaTxnDouble. alterAndGet(Txn tx, DoubleFunction function)doubleGammaTxnDouble. alterAndGet(GammaTxn tx, DoubleFunction function)private doubleGammaTxnDouble. atomicAlter(DoubleFunction function, boolean returnOld)doubleGammaTxnDouble. atomicAlterAndGet(DoubleFunction function)doubleGammaTxnDouble. atomicGetAndAlter(DoubleFunction function)voidGammaTxnDouble. commute(DoubleFunction function)voidGammaTxnDouble. commute(Txn tx, DoubleFunction function)voidGammaTxnDouble. commute(GammaTxn tx, DoubleFunction function)doubleGammaTxnDouble. getAndAlter(DoubleFunction function)doubleGammaTxnDouble. getAndAlter(Txn tx, DoubleFunction function)doubleGammaTxnDouble. getAndAlter(GammaTxn tx, DoubleFunction function)
-