Uses of Class
org.klojang.util.MutableInt
Packages that use MutableInt
Package
Description
Utility classes for working with strings, numbers, arrays, collections, etc.
-
Uses of MutableInt in org.klojang.util
Methods in org.klojang.util that return MutableIntModifier and TypeMethodDescriptionMutableInt.add(MutableInt other) Adds the specified value to the current value and returns the new value.MutableInt.compute(IntUnaryOperator operator) Computes a new value for this instance using the current value as inputMutableInt.copy()Returns a copy of thisMutableInt.MutableInt.multiply(MutableInt other) Subtracts the specified value to the current value and returns the new value.static MutableIntMutableInt.of(int value) MutableInt.set(MutableInt other) Overwrites the current value with the specified value and returns the new value.MutableInt.subtract(MutableInt other) Subtracts the specified value to the current value and returns the new value.Methods in org.klojang.util with parameters of type MutableIntModifier and TypeMethodDescriptionMutableInt.add(MutableInt other) Adds the specified value to the current value and returns the new value.booleanMutableInt.equalTo(MutableInt other) Corresponds to the==(equals) operation.booleanMutableInt.greaterThan(MutableInt other) Corresponds to the>(greater than) operation.booleanMutableInt.gte(MutableInt other) Corresponds to the>=(greater or equal) operation.booleanMutableInt.lessThan(MutableInt other) Corresponds to the<(less than) operation.booleanMutableInt.lte(MutableInt other) Corresponds to the<=(less or equal) operation.MutableInt.multiply(MutableInt other) Subtracts the specified value to the current value and returns the new value.booleanMutableInt.notEquals(MutableInt other) Corresponds to the!=(not equals) operation.MutableInt.set(MutableInt other) Overwrites the current value with the specified value and returns the new value.MutableInt.subtract(MutableInt other) Subtracts the specified value to the current value and returns the new value.Constructors in org.klojang.util with parameters of type MutableIntModifierConstructorDescriptionMutableInt(MutableInt other) Instantiates aMutableIntinitialized to the current value of another instance.