|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IntFunction | |
|---|---|
| org.multiverse.api.functions | |
| org.multiverse.api.references | |
| org.multiverse.stms.gamma.transactionalobjects | |
| Uses of IntFunction in org.multiverse.api.functions |
|---|
| Subclasses of IntFunction in org.multiverse.api.functions | |
|---|---|
class |
IncIntFunction
A IntFunction that increased the value with the supplied amount. |
| Methods in org.multiverse.api.functions that return IntFunction | |
|---|---|
static IntFunction |
Functions.decIntFunction()
Returns an IntFunction that decrements the input value by one. |
static IntFunction |
Functions.identityIntFunction()
Returns an identity IntFunction (a function that returns its input value). |
static IntFunction |
Functions.incIntFunction()
Returns an IntFunction that increments the input value by one. |
static IntFunction |
Functions.incIntFunction(int amount)
Returns a IntFunction that increments with the given amount. |
| Uses of IntFunction in org.multiverse.api.references |
|---|
| Methods in org.multiverse.api.references with parameters of type IntFunction | |
|---|---|
int |
TxnInteger.alterAndGet(IntFunction function)
Alters the value stored in this Ref using the provided function and returns the result. |
int |
TxnInteger.alterAndGet(Txn txn,
IntFunction function)
Alters the value stored in this Ref using the provided function and lifting on the provided txn. |
int |
TxnInteger.atomicAlterAndGet(IntFunction function)
Atomically applies the function to the current value in this ref and returns the new value. |
int |
TxnInteger.atomicGetAndAlter(IntFunction function)
Atomically applies the function to alter the value stored in this ref and returns the old value. |
void |
TxnInteger.commute(IntFunction function)
Applies the function on the ref in a commuting manner. |
void |
TxnInteger.commute(Txn txn,
IntFunction function)
Applies the function on the ref in a commuting manner. |
int |
TxnInteger.getAndAlter(IntFunction function)
Alters the value stored in this Ref using the provided function amd returns the old value. |
int |
TxnInteger.getAndAlter(Txn txn,
IntFunction function)
Alters the value stored in this Ref using the function and returns the old value, using the provided txn. |
| Uses of IntFunction in org.multiverse.stms.gamma.transactionalobjects |
|---|
| Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type IntFunction | |
|---|---|
int |
GammaTxnInteger.alterAndGet(GammaTxn tx,
IntFunction function)
|
int |
GammaTxnInteger.alterAndGet(IntFunction function)
|
int |
GammaTxnInteger.alterAndGet(Txn tx,
IntFunction function)
|
int |
GammaTxnInteger.atomicAlterAndGet(IntFunction function)
|
int |
GammaTxnInteger.atomicGetAndAlter(IntFunction function)
|
void |
GammaTxnInteger.commute(GammaTxn tx,
IntFunction function)
|
void |
GammaTxnInteger.commute(IntFunction function)
|
void |
GammaTxnInteger.commute(Txn tx,
IntFunction function)
|
int |
GammaTxnInteger.getAndAlter(GammaTxn tx,
IntFunction function)
|
int |
GammaTxnInteger.getAndAlter(IntFunction function)
|
int |
GammaTxnInteger.getAndAlter(Txn tx,
IntFunction function)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||