edu.unh.sdb.lattice
Class CellID

java.lang.Object
  extended by edu.unh.sdb.lattice.CellID

public class CellID
extends java.lang.Object


Constructor Summary
CellID(Datum d, int dim)
           
CellID(IndexSpaceID partitionID, int index)
           
 
Method Summary
 IntDatum asDatum()
           
 int getIndex()
           
 IndexSpaceID getPartitionID()
           
 void incrementIndex()
           
 void setIndex(int index)
           
 void setPartitionID(IndexSpaceID partitionID)
           
 java.lang.String toString()
          Return a String representing the object.
 java.lang.String toString(java.lang.String indent)
          Return a String representing the object indented by the argument string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellID

public CellID(IndexSpaceID partitionID,
              int index)

CellID

public CellID(Datum d,
              int dim)
Method Detail

getPartitionID

public IndexSpaceID getPartitionID()

setPartitionID

public void setPartitionID(IndexSpaceID partitionID)

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

incrementIndex

public void incrementIndex()

asDatum

public IntDatum asDatum()

toString

public java.lang.String toString()
Return a String representing the object.

Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.lang.String indent)
Return a String representing the object indented by the argument string.