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 MutableInt
MutableInt.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.boolean
MutableInt.equalTo
(MutableInt other) Corresponds to the==
(equals) operation.boolean
MutableInt.greaterThan
(MutableInt other) Corresponds to the>
(greater than) operation.boolean
MutableInt.gte
(MutableInt other) Corresponds to the>=
(greater or equal) operation.boolean
MutableInt.lessThan
(MutableInt other) Corresponds to the<
(less than) operation.boolean
MutableInt.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.boolean
MutableInt.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 aMutableInt
initialized to the current value of another instance.