Package org.optaplanner.core.impl.util
Class MutableLong
- java.lang.Object
- 
- java.lang.Number
- 
- org.optaplanner.core.impl.util.MutableLong
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<MutableLong>
 
 public final class MutableLong extends Number implements Comparable<MutableLong> - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MutableLong()MutableLong(long value)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longadd(long addend)intcompareTo(MutableLong other)longdecrement()doubledoubleValue()booleanequals(Object o)floatfloatValue()inthashCode()longincrement()intintValue()longlongValue()voidsetValue(long value)longsubtract(long subtrahend)StringtoString()- 
Methods inherited from class java.lang.NumberbyteValue, shortValue
 
- 
 
- 
- 
- 
Method Detail- 
setValuepublic void setValue(long value) 
 - 
incrementpublic long increment() 
 - 
decrementpublic long decrement() 
 - 
addpublic long add(long addend) 
 - 
subtractpublic long subtract(long subtrahend) 
 - 
floatValuepublic float floatValue() - Specified by:
- floatValuein class- Number
 
 - 
doubleValuepublic double doubleValue() - Specified by:
- doubleValuein class- Number
 
 - 
compareTopublic int compareTo(MutableLong other) - Specified by:
- compareToin interface- Comparable<MutableLong>
 
 
- 
 
-