Package org.qmul.eecs.c4dm.sia.model
Class NDimensionalObject
- java.lang.Object
-
- org.qmul.eecs.c4dm.sia.model.NDimensionalObject
-
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- SiaVector, VectorTableElement
public class NDimensionalObject extends java.lang.Object implements java.lang.Comparable
-
-
Constructor Summary
Constructors Constructor and Description NDimensionalObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
compareTo(java.lang.Object o2)
double
getDimensionValue(int dimension)
java.util.Vector<DimensionValue>
getDimensionValues()
void
setDimensionValues(java.util.Vector<DimensionValue> dimensionValues)
-
-
-
Method Detail
-
getDimensionValues
public java.util.Vector<DimensionValue> getDimensionValues()
- Returns:
- the dimensionValue
-
setDimensionValues
public void setDimensionValues(java.util.Vector<DimensionValue> dimensionValues)
- Parameters:
dimensionValue
- the dimensionValue to set
-
getDimensionValue
public double getDimensionValue(int dimension) throws DimensionException
- Throws:
DimensionException
-
compareTo
public int compareTo(java.lang.Object o2)
- Specified by:
compareTo
in interfacejava.lang.Comparable
-
-