net.sf.morph.util
Class MutableInteger

java.lang.Object
  extended by net.sf.morph.util.MutableInteger

public class MutableInteger
extends java.lang.Object

Holder for a mutable int. Good for ThreadLocal stacks, etc.

Since:
Morph 1.1
Author:
Matt Benson

Field Summary
 int value
           
 
Constructor Summary
MutableInteger()
          Construct a new Int with the default value (0).
MutableInteger(int value)
          Construct a new Int with the specified 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()
Construct a new Int with the default value (0).


MutableInteger

public MutableInteger(int value)
Construct a new Int with the specified value.

Parameters:
value -


Copyright © 2004-2008.