Class MutableInt


  • public class MutableInt
    extends java.lang.Object
    This is a non-thread safe mutable int.
    • Constructor Summary

      Constructors 
      Constructor Description
      MutableInt​(int i)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()