public class MutableLong extends Object
| Constructor and Description |
|---|
MutableLong(long value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
add(long add)
Add the given value and return the value after the addition.
|
long |
dec()
Decrement the value and return the value after decrementation.
|
long |
get() |
long |
inc()
Increment the value and return the value after incrementation.
|
void |
set(long value) |
long |
sub(long sub)
Subtract the given value and return the value after the subtraction.
|
public long get()
public void set(long value)
public long inc()
public long dec()
public long add(long add)
public long sub(long sub)
Copyright © 2019. All rights reserved.