edu.unh.sdb.common
Class SpaceID

java.lang.Object
  extended by edu.unh.sdb.common.SpaceID
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
IndexSpaceID, Point

public abstract class SpaceID
extends java.lang.Object
implements java.lang.Cloneable

This is a base class for all identifiers that are indices into a dimensional space.


Constructor Summary
SpaceID()
           
 
Method Summary
abstract  java.lang.Object clone()
           
abstract  int dim()
          Returns the dimensionality of this SpaceID.
 void setCoord(int axisnumber, float value)
          Set the specified axis to the specified value.
 void setCoord(int axisnumber, int value)
          Set the specified axis to the specified value.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceID

public SpaceID()
Method Detail

setCoord

public void setCoord(int axisnumber,
                     int value)
Set the specified axis to the specified value.


setCoord

public void setCoord(int axisnumber,
                     float value)
Set the specified axis to the specified value.


dim

public abstract int dim()
Returns the dimensionality of this SpaceID.


clone

public abstract java.lang.Object clone()
Overrides:
clone in class java.lang.Object