Class MutableInteger
java.lang.Object
com.spertus.jacquard.syntaxgrader.MutableInteger
A wrapper around a mutable integer value.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MutableInteger
public MutableInteger()Constructs a mutable integer with an initial value of 0.
-
-
Method Details
-
increment
public void increment()Increments the value by 1. -
getValue
public int getValue()Gets the value.- Returns:
- the value
-