Class MutableInt

java.lang.Object
com.webmethods.caf.common.MutableInt
All Implemented Interfaces:
Serializable

public class MutableInt extends Object implements Serializable
Basics class to hold a mutable int with getters and setter methods.
See Also:
  • Constructor Details

    • MutableInt

      public MutableInt()
      Default constructor, does nothing
    • MutableInt

      public MutableInt(int value)
      Sets the mutable integer.
      Parameters:
      value - returns mutable integer
  • Method Details

    • getValue

      public int getValue()
      Returns the mutable integer
      Returns:
      integer mutable value
    • setValue

      public void setValue(int value)
      Does same as MutableInt
      Parameters:
      value - returns mutable integer
    • toString

      public String toString()
      Returns the string representation of the mutable integer (just the integer value)
      Overrides:
      toString in class Object