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>
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
MutableLong
public MutableLong() -
MutableLong
public MutableLong(long value)
-
-
Method Details
-
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) -
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<MutableLong>
-
toString
-