com.yosokumo.core
Class Cell

java.lang.Object
  extended by com.yosokumo.core.Cell

public class Cell
extends java.lang.Object

Represents a Value with an associated key or name.


Constructor Summary
Cell(long nameOrKey, Value value)
           
 
Method Summary
 long getKey()
          Return the key of the cell.
 long getName()
          Return the name of the cell.
 Value getValue()
          Return the value of the cell.
 java.lang.String toString()
          Return a string representation of this Cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cell

public Cell(long nameOrKey,
            Value value)
Method Detail

getName

public long getName()
Return the name of the cell.

Returns:
the name of the cell.

getKey

public long getKey()
Return the key of the cell.

Returns:
the key of the cell.

getValue

public Value getValue()
Return the value of the cell.

Returns:
the value of the cell.

toString

public java.lang.String toString()
Return a string representation of this Cell.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this Cell.