Package opennlp.tools.util
Class MutableInt
java.lang.Object
opennlp.tools.util.MutableInt
This is a non-thread safe mutable int.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MutableInt
public MutableInt(int i) - Parameters:
i- The initialintvalue to encapsulate.
-
-
Method Details
-
increment
public void increment()Adds1to the curren value. -
getValue
public int getValue()- Returns:
- Retrieves the current value of the
MutableInt.
-