MutableInt (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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 and Description
    `MutableInt(int i)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getValue()`
    `void` | `increment()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MutableInt

          public MutableInt(int i)

  - ### Method Detail

    - #### increment

          public void increment()

    - #### getValue

          public int getValue()

Copyright © 2026 The Apache Software Foundation. All rights reserved.