java.util.concurrent.atomic.AtomicInteger in cases
where we do not have to worry about concurrency. So usually as a variable referenced in
anonymous-inner or lambda or ...
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MutableInteger | |
| public int | |
| public int | |
| public int | |
| public void | |
| public void | |
| public void | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void |
| value | back to summary |
|---|---|
| private int value | |
| MutableInteger | back to summary |
|---|---|
| public MutableInteger() | |
| MutableInteger | back to summary |
|---|---|
| public MutableInteger(int value) | |
| deepCopy | back to summary |
|---|---|
| public MutableInteger deepCopy() | |
| get | back to summary |
|---|---|
| public int get() | |
| getAndIncrement | back to summary |
|---|---|
| public int getAndIncrement() | |
| getAndIncrementBy | back to summary |
|---|---|
| public int getAndIncrementBy(int i) | |
| increase | back to summary |
|---|---|
| public void increase() | |
| increase | back to summary |
|---|---|
| public void increase(int i) | |
| increment | back to summary |
|---|---|
| public void increment() | |
| incrementAndGet | back to summary |
|---|---|
| public int incrementAndGet() | |
| incrementBy | back to summary |
|---|---|
| public void incrementBy(int i) | |
| minus | back to summary |
|---|---|
| public void minus(int i) | |
| plus | back to summary |
|---|---|
| public void plus(int i) | |
| set | back to summary |
|---|---|
| public void set(int value) | |