com.hazelcast.util

## Class MutableLong

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

-     public class MutableLong
      extends Object

  Mutable long which can be used for counting purposes.

  This class is not thread-safe.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `long` | `value` Mutable long value of this instance.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MutableLong()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `String` | `toString()`
    `static MutableLong` | `valueOf(long value)`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### value

          public long value

      Mutable long value of this instance.

  - ### Constructor Detail

    - #### MutableLong

          public MutableLong()

  - ### Method Detail

    - #### valueOf

          public static MutableLong valueOf(long value)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All rights reserved.