|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlp.struct.util.EvolpPrettyPrinter.MutableInteger
private static class EvolpPrettyPrinter.MutableInteger
A wrapper class for a mutable integer.
| Field Summary | |
|---|---|
private int |
value
The integer value. |
| Constructor Summary | |
|---|---|
EvolpPrettyPrinter.MutableInteger(int initialValue)
Constructs a new instance that initially holds the value initialValue. |
|
| Method Summary | |
|---|---|
void |
decrement()
Subtracts 1 from the current value. |
int |
getValue()
Returns the current value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int value
| Constructor Detail |
|---|
public EvolpPrettyPrinter.MutableInteger(int initialValue)
initialValue.
initialValue - the initial value for the new instance| Method Detail |
|---|
public int getValue()
public void decrement()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||