Package opennlp.tools.util
Class MutableInt
- java.lang.Object
-
- opennlp.tools.util.MutableInt
-
public class MutableInt extends Object
This is a non-thread safe mutable int.
-
-
Constructor Summary
Constructors Constructor Description MutableInt(int i)
-
-
-
Method Detail
-
increment
public void increment()
Adds1
to the curren value.
-
getValue
public int getValue()
- Returns:
- Retrieves the current value of the
MutableInt
.
-
-