Package de.sciss.util

Class MutableInt


  • public class MutableInt
    extends java.lang.Object
    A mutable integer
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int x)  
      void set​(int newValue)  
      java.lang.String toString()  
      int value()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MutableInt

        public MutableInt​(int initialValue)
    • Method Detail

      • value

        public int value()
      • set

        public void set​(int newValue)
      • add

        public void add​(int x)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object