org.das2.dataset
Class AbstractTableDataSet
java.lang.Object
org.das2.dataset.AbstractDataSet
org.das2.dataset.AbstractTableDataSet
- All Implemented Interfaces:
- DataSet, TableDataSet
- Direct Known Subclasses:
- DefaultTableDataSet
public abstract class AbstractTableDataSet
- extends AbstractDataSet
- implements DataSet, TableDataSet
Fields inherited from interface org.das2.dataset.DataSet |
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_TAG_WIDTH, PROPERTY_Y_LABEL, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_TAG_WIDTH, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE |
Method Summary |
java.lang.Object |
getProperty(int table,
java.lang.String name)
Return the property value attached to the table. |
VectorDataSet |
getXSlice(int i)
Returns a slice view of this data set for a specific x value |
VectorDataSet |
getYSlice(int j,
int table)
Returns a slice view of this data set for a specific y value |
Units |
getZUnits()
Returns the Units object representing the unit type of the y values for
this data set. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.das2.dataset.TableDataSet |
getDatum, getDouble, getDoubleScan, getInt, getScan, getYLength, getYTagDatum, getYTagDouble, getYTagInt, getYTags, tableCount, tableEnd, tableOfIndex, tableStart |
tableProperties
protected java.util.List<java.util.Map> tableProperties
AbstractTableDataSet
public AbstractTableDataSet(double[] xTags,
Units xUnits,
Units yUnits,
Units zUnits,
java.util.Map properties)
- Creates a new instance of AbstractTableDataSet
getZUnits
public Units getZUnits()
- Description copied from interface:
TableDataSet
- Returns the Units object representing the unit type of the y values for
this data set.
- Specified by:
getZUnits
in interface TableDataSet
- Returns:
- the x units
getXSlice
public VectorDataSet getXSlice(int i)
- Description copied from interface:
TableDataSet
- Returns a slice view of this data set for a specific x value
- Specified by:
getXSlice
in interface TableDataSet
getYSlice
public VectorDataSet getYSlice(int j,
int table)
- Description copied from interface:
TableDataSet
- Returns a slice view of this data set for a specific y value
- Specified by:
getYSlice
in interface TableDataSet
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getProperty
public java.lang.Object getProperty(int table,
java.lang.String name)
- Description copied from interface:
TableDataSet
- Return the property value attached to the table. This should
simply return DataSet.getProperty() if the table has no special
value for the table.
- Specified by:
getProperty
in interface TableDataSet
- Returns: