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 classfinal classAIntFunctionthat increased the value with the supplied amount.Fields in org.multiverse.api.functions declared as IntFunctionModifier and TypeFieldDescriptionprivate static final IntFunctionFunctions.decOneIntFunctionprivate static final IntFunctionFunctions.identityIntFunctionprivate static final IntFunctionFunctions.incOneIntFunctionMethods in org.multiverse.api.functions that return IntFunctionModifier and TypeMethodDescriptionstatic IntFunctionFunctions.decIntFunction()Returns anIntFunctionthat decrements the input value by one.static IntFunctionFunctions.identityIntFunction()Returns an identityIntFunction(a function that returns its input value).static IntFunctionFunctions.incIntFunction()Returns anIntFunctionthat increments the input value by one.static IntFunctionFunctions.incIntFunction(int amount) Returns aIntFunctionthat 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 TypeMethodDescriptionintTxnInteger.alterAndGet(IntFunction function) Alters the value stored in this Ref using the provided function and returns the result.intTxnInteger.alterAndGet(Txn txn, IntFunction function) Alters the value stored in this Ref using the provided function and lifting on the provided txn.intTxnInteger.atomicAlterAndGet(IntFunction function) Atomically applies the function to the current value in this ref and returns the new value.intTxnInteger.atomicGetAndAlter(IntFunction function) Atomically applies the function to alter the value stored in this ref and returns the old value.voidTxnInteger.commute(IntFunction function) Applies the function on the ref in a commuting manner.voidTxnInteger.commute(Txn txn, IntFunction function) Applies the function on the ref in a commuting manner.intTxnInteger.getAndAlter(IntFunction function) Alters the value stored in this Ref using the provided function amd returns the old value.intTxnInteger.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 intGammaTxnInteger.alter(GammaTxn tx, IntFunction function, boolean returnOld) final intGammaTxnInteger.alterAndGet(IntFunction function) final intGammaTxnInteger.alterAndGet(Txn tx, IntFunction function) final intGammaTxnInteger.alterAndGet(GammaTxn tx, IntFunction function) private intGammaTxnInteger.atomicAlter(IntFunction function, boolean returnOld) final intGammaTxnInteger.atomicAlterAndGet(IntFunction function) final intGammaTxnInteger.atomicGetAndAlter(IntFunction function) final voidGammaTxnInteger.commute(IntFunction function) final voidGammaTxnInteger.commute(Txn tx, IntFunction function) final voidGammaTxnInteger.commute(GammaTxn tx, IntFunction function) final intGammaTxnInteger.getAndAlter(IntFunction function) final intGammaTxnInteger.getAndAlter(Txn tx, IntFunction function) final intGammaTxnInteger.getAndAlter(GammaTxn tx, IntFunction function)