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 classFunctions.IncIntFunctionclassIncIntFunctionAIntFunctionthat increased the value with the supplied amount.Fields in org.multiverse.api.functions declared as IntFunction Modifier and Type Field Description private static IntFunctionFunctions. decOneIntFunctionprivate static IntFunctionFunctions. identityIntFunctionprivate static IntFunctionFunctions. incOneIntFunctionMethods in org.multiverse.api.functions that return IntFunction Modifier and Type Method Description static 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 IntFunction Modifier and Type Method Description intTxnInteger. 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 IntFunction Modifier and Type Method Description private intGammaTxnInteger. alter(GammaTxn tx, IntFunction function, boolean returnOld)intGammaTxnInteger. alterAndGet(IntFunction function)intGammaTxnInteger. alterAndGet(Txn tx, IntFunction function)intGammaTxnInteger. alterAndGet(GammaTxn tx, IntFunction function)private intGammaTxnInteger. atomicAlter(IntFunction function, boolean returnOld)intGammaTxnInteger. atomicAlterAndGet(IntFunction function)intGammaTxnInteger. atomicGetAndAlter(IntFunction function)voidGammaTxnInteger. commute(IntFunction function)voidGammaTxnInteger. commute(Txn tx, IntFunction function)voidGammaTxnInteger. commute(GammaTxn tx, IntFunction function)intGammaTxnInteger. getAndAlter(IntFunction function)intGammaTxnInteger. getAndAlter(Txn tx, IntFunction function)intGammaTxnInteger. getAndAlter(GammaTxn tx, IntFunction function)
-