|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Function | |
|---|---|
| org.multiverse.api.functions | |
| org.multiverse.api.references | |
| org.multiverse.stms.gamma.transactionalobjects | |
| org.multiverse.stms.gamma.transactions | |
| Uses of Function in org.multiverse.api.functions |
|---|
| Classes in org.multiverse.api.functions that implement Function | |
|---|---|
class |
BooleanFunction
A Function for primitives that accepts an argument of type boolean and returns a new
value of the same type. |
class |
DoubleFunction
A Function for primitives that accepts an argument of type double and returns a new
value of the same type. |
class |
IncIntFunction
A IntFunction that increased the value with the supplied amount. |
class |
IntFunction
A Function for primitives that accepts an argument of type int and returns a new
value of the same type. |
class |
LongFunction
A Function for primitives that accepts an argument of type long and returns a new
value of the same type. |
| Methods in org.multiverse.api.functions that return Function | |
|---|---|
static Function |
Functions.identityFunction()
Returns an Function that returns its input. |
| Uses of Function in org.multiverse.api.references |
|---|
| Methods in org.multiverse.api.references with parameters of type Function | |
|---|---|
E |
TxnRef.alterAndGet(Function<E> function)
Alters the value stored in this Ref using the provided function and returns the result. |
E |
TxnRef.alterAndGet(Txn txn,
Function<E> function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn. |
E |
TxnRef.atomicAlterAndGet(Function<E> function)
Atomically applies the function to the current value in this ref and returns the new value. |
E |
TxnRef.atomicGetAndAlter(Function<E> function)
Atomically applies the function to alter the value stored in this ref and returns the old value. |
void |
TxnRef.commute(Function<E> function)
Applies the function on the ref in a commuting manner. |
void |
TxnRef.commute(Txn txn,
Function<E> function)
Applies the function on the ref in a commuting manner. |
E |
TxnRef.getAndAlter(Function<E> function)
Alters the value stored in this Ref using the provided function amd returns the old value. |
E |
TxnRef.getAndAlter(Txn txn,
Function<E> function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn. |
| Uses of Function in org.multiverse.stms.gamma.transactionalobjects |
|---|
| Fields in org.multiverse.stms.gamma.transactionalobjects declared as Function | |
|---|---|
Function |
CallableNode.function
|
| Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type Function | |
|---|---|
void |
Tranlocal.addCommutingFunction(GammaObjectPool pool,
Function function)
|
E |
GammaTxnRef.alterAndGet(Function<E> function)
|
E |
GammaTxnRef.alterAndGet(GammaTxn tx,
Function<E> function)
|
E |
GammaTxnRef.alterAndGet(Txn tx,
Function<E> function)
|
E |
GammaTxnRef.atomicAlterAndGet(Function<E> function)
|
E |
GammaTxnRef.atomicGetAndAlter(Function<E> function)
|
void |
GammaTxnRef.commute(Function<E> function)
|
void |
GammaTxnRef.commute(GammaTxn tx,
Function<E> function)
|
void |
GammaTxnRef.commute(Txn tx,
Function<E> function)
|
E |
GammaTxnRef.getAndAlter(Function<E> function)
|
E |
GammaTxnRef.getAndAlter(GammaTxn tx,
Function<E> function)
|
E |
GammaTxnRef.getAndAlter(Txn tx,
Function<E> function)
|
void |
BaseGammaTxnRef.openForCommute(FatFixedLengthGammaTxn tx,
Function function)
|
void |
BaseGammaTxnRef.openForCommute(FatMonoGammaTxn tx,
Function function)
|
void |
BaseGammaTxnRef.openForCommute(FatVariableLengthGammaTxn tx,
Function function)
|
void |
BaseGammaTxnRef.openForCommute(GammaTxn tx,
Function function)
|
| Constructors in org.multiverse.stms.gamma.transactionalobjects with parameters of type Function | |
|---|---|
CallableNode(Function function,
CallableNode next)
|
|
| Uses of Function in org.multiverse.stms.gamma.transactions |
|---|
| Methods in org.multiverse.stms.gamma.transactions with parameters of type Function | |
|---|---|
IllegalTxnStateException |
GammaTxn.abortCommuteOnBadStatus(GammaObject object,
Function function)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||