Uses of Class
org.multiverse.api.functions.IntFunction
-
Packages that use IntFunction Package Description 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 Modifier and Type Class Description private static class
Functions.IncIntFunction
class
IncIntFunction
AIntFunction
that increased the value with the supplied amount.Fields in org.multiverse.api.functions declared as IntFunction Modifier and Type Field Description private static IntFunction
Functions. decOneIntFunction
private static IntFunction
Functions. identityIntFunction
private static IntFunction
Functions. incOneIntFunction
Methods in org.multiverse.api.functions that return IntFunction Modifier and Type Method Description static IntFunction
Functions. decIntFunction()
Returns anIntFunction
that decrements the input value by one.static IntFunction
Functions. identityIntFunction()
Returns an identityIntFunction
(a function that returns its input value).static IntFunction
Functions. incIntFunction()
Returns anIntFunction
that increments the input value by one.static IntFunction
Functions. incIntFunction(int amount)
Returns aIntFunction
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 Modifier and Type Method Description 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 Modifier and Type Method Description private int
GammaTxnInteger. alter(GammaTxn tx, IntFunction function, boolean returnOld)
int
GammaTxnInteger. alterAndGet(IntFunction function)
int
GammaTxnInteger. alterAndGet(Txn tx, IntFunction function)
int
GammaTxnInteger. alterAndGet(GammaTxn tx, IntFunction function)
private int
GammaTxnInteger. atomicAlter(IntFunction function, boolean returnOld)
int
GammaTxnInteger. atomicAlterAndGet(IntFunction function)
int
GammaTxnInteger. atomicGetAndAlter(IntFunction function)
void
GammaTxnInteger. commute(IntFunction function)
void
GammaTxnInteger. commute(Txn tx, IntFunction function)
void
GammaTxnInteger. commute(GammaTxn tx, IntFunction function)
int
GammaTxnInteger. getAndAlter(IntFunction function)
int
GammaTxnInteger. getAndAlter(Txn tx, IntFunction function)
int
GammaTxnInteger. getAndAlter(GammaTxn tx, IntFunction function)
-