org.objectweb.telosys.common.val
Class LongValue

java.lang.Object
  extended byorg.objectweb.telosys.common.val.LongValue
All Implemented Interfaces:
ISingleValue, java.io.Serializable

public class LongValue
extends java.lang.Object
implements ISingleValue

This class wraps a value of the primitive type 'long' in an object. The current value can be changed with the 'setValue' method.

See Also:
Serialized Form

Constructor Summary
LongValue()
          Default constructor, the initial value is '0'.
LongValue(long v)
          Constructor with initial value
 
Method Summary
 long getValue()
          Returns the current value
 void setValue(long v)
          Changes the current value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongValue

public LongValue()
Default constructor, the initial value is '0'.


LongValue

public LongValue(long v)
Constructor with initial value

Parameters:
v - initial value
Method Detail

setValue

public void setValue(long v)
Changes the current value

Parameters:
v -

getValue

public long getValue()
Returns the current value

Returns:

toString

public java.lang.String toString()