public class AppendTableDataSet extends java.lang.Object implements TableDataSet
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_OPERATION, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_SOURCE, PROPERTY_SUMMARY, PROPERTY_TITLE, PROPERTY_X_CACHE_RES, PROPERTY_X_CACHE_RNG, PROPERTY_X_FORMAT, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_SUMMARY, PROPERTY_X_TAG_WIDTH, PROPERTY_X_VALID_MAX, PROPERTY_X_VALID_MIN, PROPERTY_Y_CACHE_RES, PROPERTY_Y_CACHE_RNG, PROPERTY_Y_FILL, PROPERTY_Y_FORMAT, PROPERTY_Y_LABEL, PROPERTY_Y_MONOTONIC, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_SUMMARY, PROPERTY_Y_TAG_WIDTH, PROPERTY_Y_VALID_MAX, PROPERTY_Y_VALID_MIN, PROPERTY_Z_FILL, PROPERTY_Z_FORMAT, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE, PROPERTY_Z_SUMMARY, PROPERTY_Z_VALID_MAX, PROPERTY_Z_VALID_MIN
Constructor and Description |
---|
AppendTableDataSet(TableDataSet tds1,
TableDataSet tds2) |
Modifier and Type | Method and Description |
---|---|
Datum |
getDatum(int i,
int j)
Returns the Z value for the given indices into the x and y tags as a
Datum . |
double |
getDouble(int i,
int j,
Units units)
Returns the Z value for the given indices into the x and y tags as a
double with the given units. |
double[] |
getDoubleScan(int i,
Units units) |
int |
getInt(int i,
int j,
Units units)
Returns the Z value for the given indices into the x and y tags as a
int with the given units. |
DataSet |
getPlanarView(java.lang.String planeID)
Returns a
DataSet with the specified view as the primary
view. |
java.lang.String[] |
getPlaneIds()
Returns a list of auxiliary planes (e.g.
|
java.util.Map |
getProperties()
Returns all dataset properties in a Map.
|
java.lang.Object |
getProperty(int table,
java.lang.String name)
Return the property value attached to the table.
|
java.lang.Object |
getProperty(java.lang.String name)
Returns the property value associated with the string
name |
DatumVector |
getScan(int i) |
int |
getXLength()
Returns the number of x tags in this data set.
|
VectorDataSet |
getXSlice(int i)
Returns a slice view of this data set for a specific x value
|
Datum |
getXTagDatum(int i)
Returns the value of the x tag at the given index i as a
Datum . |
double |
getXTagDouble(int i,
Units units)
Returns the value of the x tag at the given index i as a
double in the given units. |
int |
getXTagInt(int i,
Units units)
Returns the value of the x tag at the given index i as an
int in the given units. |
Units |
getXUnits()
Returns the Units object representing the unit type of the x tags
for this data set.
|
int |
getYLength(int table)
Returns the number of y tags in the specified table for this data set.
|
VectorDataSet |
getYSlice(int j,
int table)
Returns a slice view of this data set for a specific y value
|
Datum |
getYTagDatum(int table,
int j)
Returns the value of the y tag at the given index j as a
Datum . |
double |
getYTagDouble(int table,
int j,
Units units)
Returns the value of the y tag at the given index j as a
double in the given units. |
int |
getYTagInt(int table,
int j,
Units units)
Returns the value of the y tag at the given index j as an
int in the given units. |
DatumVector |
getYTags(int table)
Returns the yTags for this data set as a
DatumVector |
Units |
getYUnits()
Returns the Units object representing the unit type of the y tags
or y values for this data set.
|
Units |
getZUnits()
Returns the Units object representing the unit type of the y values for
this data set.
|
int |
tableCount()
Returns the number of tables in this data set
|
int |
tableEnd(int table)
Returns the index after the last x tag index of the specified table
|
int |
tableOfIndex(int i)
Returns the table number that the specified index is in.
|
int |
tableStart(int table)
Returns the first x tag index of the specified table.
|
public AppendTableDataSet(TableDataSet tds1, TableDataSet tds2)
public Datum getDatum(int i, int j)
TableDataSet
Datum
.getDatum
in interface TableDataSet
i
- index of the x tag for the requested value.j
- index of the y tag for the requested value.Datum
public double getDouble(int i, int j, Units units)
TableDataSet
double
with the given units.getDouble
in interface TableDataSet
i
- index of the y tag for the requested value.j
- index of the x tag for the requested value.units
- the units the returned value should be converted to.double
.public double[] getDoubleScan(int i, Units units)
getDoubleScan
in interface TableDataSet
public int getInt(int i, int j, Units units)
TableDataSet
int
with the given units.getInt
in interface TableDataSet
i
- index of the x tag for the requested value.j
- index of the y tag for the requested value.units
- the units the returned value should be converted to.int
.public DataSet getPlanarView(java.lang.String planeID)
DataSet
DataSet
with the specified view as the primary
view.getPlanarView
in interface DataSet
planeID
- the String
id of the requested plane.DataSet
public java.lang.String[] getPlaneIds()
DataSet
getPlaneIds
in interface DataSet
public java.util.Map getProperties()
DataSet
getProperties
in interface DataSet
public java.lang.Object getProperty(java.lang.String name)
DataSet
name
getProperty
in interface DataSet
name
- the name of the property requestedname
or nullpublic DatumVector getScan(int i)
getScan
in interface TableDataSet
public int getXLength()
DataSet
getXLength
in interface DataSet
public VectorDataSet getXSlice(int i)
TableDataSet
getXSlice
in interface TableDataSet
public Datum getXTagDatum(int i)
DataSet
Datum
.getXTagDatum
in interface DataSet
i
- the index of the requested x tagDatum
.public double getXTagDouble(int i, Units units)
DataSet
double
in the given units. XTags must be
monotonically increasing with i.getXTagDouble
in interface DataSet
i
- the index of the requested x tagunits
- the units of the returned valuedouble
.public int getXTagInt(int i, Units units)
DataSet
int
in the given units. XTags must be
monotonically increasing with i.getXTagInt
in interface DataSet
i
- the index of the requested x tagunits
- the units of the returned value.int
.public Units getXUnits()
DataSet
public int getYLength(int table)
TableDataSet
getYLength
in interface TableDataSet
table
- index of the tablepublic VectorDataSet getYSlice(int j, int table)
TableDataSet
getYSlice
in interface TableDataSet
public Datum getYTagDatum(int table, int j)
TableDataSet
Datum
.getYTagDatum
in interface TableDataSet
table
- the table numberj
- the index of the requested y tagDatum
.public double getYTagDouble(int table, int j, Units units)
TableDataSet
double
in the given units. YTags must be
monotonically increasing with j.getYTagDouble
in interface TableDataSet
table
- the table numberj
- the index of the requested y tagunits
- the units of the returned valuedouble
.public int getYTagInt(int table, int j, Units units)
TableDataSet
int
in the given units. YTags must be
monotonically increasing with j.getYTagInt
in interface TableDataSet
j
- the index of the requested y tagunits
- the units of the returned valueint
.public DatumVector getYTags(int table)
TableDataSet
DatumVector
getYTags
in interface TableDataSet
table
- the table numberDatumVector
public Units getYUnits()
DataSet
public Units getZUnits()
TableDataSet
getZUnits
in interface TableDataSet
public int tableCount()
TableDataSet
tableCount
in interface TableDataSet
public int tableEnd(int table)
TableDataSet
tableEnd
in interface TableDataSet
table
- the index of the tablepublic int tableOfIndex(int i)
TableDataSet
tableOfIndex
in interface TableDataSet
i
- x tag indexpublic int tableStart(int table)
TableDataSet
tableStart
in interface TableDataSet
table
- the index of the table.public java.lang.Object getProperty(int table, java.lang.String name)
TableDataSet
getProperty
in interface TableDataSet