com.hazelcast.util

## Class MutableInteger

- java.lang.Object
- - com.hazelcast.util.MutableInteger

-     public class MutableInteger
      extends Object

  Mutable integer which can be used for counting purposes.

  This class is not thread-safe.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MutableInteger()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getAndInc()`

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

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

- - ### Field Detail

    - #### value

          public int value

  - ### Constructor Detail

    - #### MutableInteger

          public MutableInteger()

  - ### Method Detail

    - #### getAndInc

          public int getAndInc()

Copyright © 2018. All rights reserved.