com.isti.util
Class KeyedTreeTable.TimedValueBlock

java.lang.Object
  extended by com.isti.util.KeyedTreeTable.TimedValueBlock
Enclosing class:
KeyedTreeTable

protected static class KeyedTreeTable.TimedValueBlock
extends java.lang.Object

Class TimedValueBlock defines a block that holds a 'value' object, a timestamp, and a reference to a 'List' object.


Field Summary
 java.util.List listObj
           
 long timestamp
           
 java.lang.Object valueObj
           
 
Constructor Summary
KeyedTreeTable.TimedValueBlock(java.lang.Object valueObj)
          Creates a timed-value block.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests if the given object is equal to the 'value' object held by this block.
 int hashCode()
          Returns the hash code for the 'value' object held by this block.
 java.lang.String toString()
          Returns the string representation for the 'value' object held by this block.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

valueObj

public final java.lang.Object valueObj

timestamp

public final long timestamp

listObj

public java.util.List listObj
Constructor Detail

KeyedTreeTable.TimedValueBlock

public KeyedTreeTable.TimedValueBlock(java.lang.Object valueObj)
Creates a timed-value block.

Parameters:
valueObj - the value object to use.
Method Detail

toString

public java.lang.String toString()
Returns the string representation for the 'value' object held by this block.

Overrides:
toString in class java.lang.Object
Returns:
The string representation for the 'value' object held by this block.

equals

public boolean equals(java.lang.Object obj)
Tests if the given object is equal to the 'value' object held by this block.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the given object.
Returns:
true if equal; false if not.

hashCode

public int hashCode()
Returns the hash code for the 'value' object held by this block.

Overrides:
hashCode in class java.lang.Object
Returns:
The hash code for the 'value' object held by this block.