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 Summary
Constructors Constructor Description MutableLong()MutableLong(long value) 
- 
Method Summary
All 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.Number
byteValue, shortValue 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setValue
public void setValue(long value)
 
- 
increment
public long increment()
 
- 
decrement
public long decrement()
 
- 
add
public long add(long addend)
 
- 
subtract
public long subtract(long subtrahend)
 
- 
floatValue
public float floatValue()
- Specified by:
 floatValuein classNumber
 
- 
doubleValue
public double doubleValue()
- Specified by:
 doubleValuein classNumber
 
- 
compareTo
public int compareTo(MutableLong other)
- Specified by:
 compareToin interfaceComparable<MutableLong>
 
 - 
 
 -