Package org.optaplanner.core.impl.util
Class MutableInt
java.lang.Object
java.lang.Number
org.optaplanner.core.impl.util.MutableInt
- All Implemented Interfaces:
- Serializable,- Comparable<MutableInt>
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.NumberbyteValue, shortValue
- 
Constructor Details- 
MutableIntpublic MutableInt()
- 
MutableIntpublic MutableInt(int value) 
 
- 
- 
Method Details- 
setValuepublic void setValue(int value) 
- 
incrementpublic int increment()
- 
decrementpublic int decrement()
- 
addpublic int add(int addend) 
- 
subtractpublic int subtract(int subtrahend) 
- 
intValuepublic int intValue()
- 
longValuepublic long longValue()
- 
floatValuepublic float floatValue()- Specified by:
- floatValuein class- Number
 
- 
doubleValuepublic double doubleValue()- Specified by:
- doubleValuein class- Number
 
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<MutableInt>
 
- 
toString
 
-