Class AbstractMapBag.MutableInteger

  • Enclosing class:
    AbstractMapBag

    protected static class AbstractMapBag.MutableInteger
    extends java.lang.Object
    Mutable integer class for storing the data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int value
      The value of this mutable.
    • Constructor Summary

      Constructors 
      Constructor Description
      MutableInteger​(int value)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        protected int value
        The value of this mutable.
    • Constructor Detail

      • MutableInteger

        MutableInteger​(int value)
        Constructor.
        Parameters:
        value - the initial value
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object