Class MutableInteger


  • public class MutableInteger
    extends java.lang.Object
    Java won't let you modify an Integer; not sure how that's more efficient, but...here's one that let's you modify it. Frightening I have to implement this myself. Blech.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int value  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • value

        public int value
    • Constructor Detail

      • MutableInteger

        public MutableInteger()
      • MutableInteger

        public MutableInteger​(int value)