|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DoubleFunction | |
|---|---|
| org.multiverse.api.functions | |
| org.multiverse.api.references | |
| org.multiverse.stms.gamma.transactionalobjects | |
| Uses of DoubleFunction in org.multiverse.api.functions |
|---|
| Methods in org.multiverse.api.functions that return DoubleFunction | |
|---|---|
static DoubleFunction |
Functions.identityDoubleFunction()
Returns an DoubleFunction that returns its input. |
static DoubleFunction |
Functions.incDoubleFunction()
Returns a DoubleFunction that increments the input with one. |
| Uses of DoubleFunction in org.multiverse.api.references |
|---|
| Methods in org.multiverse.api.references with parameters of type DoubleFunction | |
|---|---|
double |
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 DoubleFunction | |
|---|---|
double |
GammaTxnDouble.alter(GammaTxn tx,
DoubleFunction function,
boolean returnOld)
|
double |
GammaTxnDouble.alterAndGet(DoubleFunction function)
|
double |
GammaTxnDouble.alterAndGet(GammaTxn tx,
DoubleFunction function)
|
double |
GammaTxnDouble.alterAndGet(Txn tx,
DoubleFunction function)
|
double |
GammaTxnDouble.atomicAlterAndGet(DoubleFunction function)
|
double |
GammaTxnDouble.atomicGetAndAlter(DoubleFunction function)
|
void |
GammaTxnDouble.commute(DoubleFunction function)
|
void |
GammaTxnDouble.commute(GammaTxn tx,
DoubleFunction function)
|
void |
GammaTxnDouble.commute(Txn tx,
DoubleFunction function)
|
double |
GammaTxnDouble.getAndAlter(DoubleFunction function)
|
double |
GammaTxnDouble.getAndAlter(GammaTxn tx,
DoubleFunction function)
|
double |
GammaTxnDouble.getAndAlter(Txn tx,
DoubleFunction function)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||