Package com.yahoo.lang
Class MutableLong
java.lang.Object
com.yahoo.lang.MutableLong
A mutable long
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MutableLong
public MutableLong(long value)
-
-
Method Details
-
get
public long get() -
set
public void set(long value) -
add
public long add(long increment) Adds the increment to the current value and returns the resulting value -
subtract
public long subtract(long increment) Adds the increment to the current value and returns the resulting value -
toString
-