cgl.narada.util
Class MutableInteger

java.lang.Object
  extended by cgl.narada.util.MutableInteger

public class MutableInteger
extends Object

An object that can be inserted into the various data structures in java.util, but which can also be used to increment or decrement the underlying value of int that it encapsulates;


Constructor Summary
MutableInteger(int value)
           
 
Method Summary
 int decrement()
           
 int getValue()
           
 int increment()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableInteger

public MutableInteger(int value)
Method Detail

increment

public int increment()

decrement

public int decrement()

getValue

public int getValue()


For comments and suggestions please send e-mail to The NaradaBrokering Project