com.isti.util
Class TagValueTable.MutableLong

java.lang.Object
  extended by com.isti.util.TagValueTable.MutableLong
Direct Known Subclasses:
TagValueTrkTable.TrackingMutableLong
Enclosing class:
TagValueTable

public static class TagValueTable.MutableLong
extends java.lang.Object

Class MutableLong defines a long integer value that may be modified.


Constructor Summary
TagValueTable.MutableLong(long value)
          Creates a long integer value that may be modified.
 
Method Summary
 long getValue()
          Returns the current value.
 void setValue(long value)
          Sets the current value.
static TagValueTable.MutableLong stringToObj(java.lang.String str)
          Creates a 'MutableLong' object from the given numeric string.
 java.lang.String toString()
          Returns a numeric string representation of the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagValueTable.MutableLong

public TagValueTable.MutableLong(long value)
Creates a long integer value that may be modified.

Parameters:
value - initial value.
Method Detail

setValue

public void setValue(long value)
Sets the current value.

Parameters:
value - to use.

getValue

public long getValue()
Returns the current value.

Returns:
the current value.

toString

public java.lang.String toString()
Returns a numeric string representation of the value.

Overrides:
toString in class java.lang.Object
Returns:
A numeric string representation of the value.

stringToObj

public static TagValueTable.MutableLong stringToObj(java.lang.String str)
Creates a 'MutableLong' object from the given numeric string.

Parameters:
str - the numeric string to use.
Returns:
A new 'MutableLong' object, or null if the string could not be successfully parsed.