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