Uses of Class
org.multiverse.api.functions.DoubleFunction
Packages that use DoubleFunction
Package
Description
-
Uses of DoubleFunction in org.multiverse.api.functions
Subclasses of DoubleFunction in org.multiverse.api.functionsModifier and TypeClassDescriptionprivate static class
private static class
Fields in org.multiverse.api.functions declared as DoubleFunctionModifier and TypeFieldDescriptionprivate static final DoubleFunction
Functions.identityDoubleFunction
private static final DoubleFunction
Functions.incOneDoubleFunction
Methods in org.multiverse.api.functions that return DoubleFunctionModifier and TypeMethodDescriptionstatic DoubleFunction
Functions.identityDoubleFunction()
Returns anDoubleFunction
that returns its input.static DoubleFunction
Functions.incDoubleFunction()
Returns aDoubleFunction
that increments the input with one. -
Uses of DoubleFunction in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type DoubleFunctionModifier and TypeMethodDescriptiondouble
TxnDouble.alterAndGet
(DoubleFunction function) Alters the value stored in this Ref using the provided function and returns the result.double
TxnDouble.alterAndGet
(Txn txn, DoubleFunction function) Alters the value stored in this Ref using the provided function and lifting on the provided txn.double
TxnDouble.atomicAlterAndGet
(DoubleFunction function) Atomically applies the function to the current value in this ref and returns the new value.double
TxnDouble.atomicGetAndAlter
(DoubleFunction function) Atomically applies the function to alter the value stored in this ref and returns the old value.void
TxnDouble.commute
(DoubleFunction function) Applies the function on the ref in a commuting manner.void
TxnDouble.commute
(Txn txn, DoubleFunction function) Applies the function on the ref in a commuting manner.double
TxnDouble.getAndAlter
(DoubleFunction function) Alters the value stored in this Ref using the provided function amd returns the old value.double
TxnDouble.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 DoubleFunctionModifier and TypeMethodDescriptionfinal double
GammaTxnDouble.alter
(GammaTxn tx, DoubleFunction function, boolean returnOld) final double
GammaTxnDouble.alterAndGet
(DoubleFunction function) final double
GammaTxnDouble.alterAndGet
(Txn tx, DoubleFunction function) final double
GammaTxnDouble.alterAndGet
(GammaTxn tx, DoubleFunction function) private double
GammaTxnDouble.atomicAlter
(DoubleFunction function, boolean returnOld) final double
GammaTxnDouble.atomicAlterAndGet
(DoubleFunction function) final double
GammaTxnDouble.atomicGetAndAlter
(DoubleFunction function) final void
GammaTxnDouble.commute
(DoubleFunction function) final void
GammaTxnDouble.commute
(Txn tx, DoubleFunction function) final void
GammaTxnDouble.commute
(GammaTxn tx, DoubleFunction function) final double
GammaTxnDouble.getAndAlter
(DoubleFunction function) final double
GammaTxnDouble.getAndAlter
(Txn tx, DoubleFunction function) final double
GammaTxnDouble.getAndAlter
(GammaTxn tx, DoubleFunction function)