Package org.apache.commons.collections4.bag

# Class AbstractMapBag.MutableInteger

java.lang.Object
org.apache.commons.collections4.bag.AbstractMapBag.MutableInteger

Enclosing class:
  `AbstractMapBag<E>`

protected static class AbstractMapBag.MutableInteger extends Object
Mutable integer class for storing the data.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected int`
  `value`
  The value of this mutable.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `int`
  `hashCode()`

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

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

- ## Field Details

  - ### value

    protected int value
    The value of this mutable.

- ## Method Details

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`