Uses of Class
org.multiverse.api.functions.IntFunction
Packages that use IntFunction
Package
Description
-
Uses of IntFunction in org.multiverse.api.functions
Subclasses of IntFunction in org.multiverse.api.functionsModifier and TypeClassDescriptionprivate static class
final class
AIntFunction
that increased the value with the supplied amount.Fields in org.multiverse.api.functions declared as IntFunctionModifier and TypeFieldDescriptionprivate static final IntFunction
Functions.decOneIntFunction
private static final IntFunction
Functions.identityIntFunction
private static final IntFunction
Functions.incOneIntFunction
Methods in org.multiverse.api.functions that return IntFunctionModifier and TypeMethodDescriptionstatic 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 IntFunctionModifier and TypeMethodDescriptionint
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 IntFunctionModifier and TypeMethodDescriptionprivate int
GammaTxnInteger.alter
(GammaTxn tx, IntFunction function, boolean returnOld) final int
GammaTxnInteger.alterAndGet
(IntFunction function) final int
GammaTxnInteger.alterAndGet
(Txn tx, IntFunction function) final int
GammaTxnInteger.alterAndGet
(GammaTxn tx, IntFunction function) private int
GammaTxnInteger.atomicAlter
(IntFunction function, boolean returnOld) final int
GammaTxnInteger.atomicAlterAndGet
(IntFunction function) final int
GammaTxnInteger.atomicGetAndAlter
(IntFunction function) final void
GammaTxnInteger.commute
(IntFunction function) final void
GammaTxnInteger.commute
(Txn tx, IntFunction function) final void
GammaTxnInteger.commute
(GammaTxn tx, IntFunction function) final int
GammaTxnInteger.getAndAlter
(IntFunction function) final int
GammaTxnInteger.getAndAlter
(Txn tx, IntFunction function) final int
GammaTxnInteger.getAndAlter
(GammaTxn tx, IntFunction function)