org.das2.dataset.ViewDataSet

A DataSet implementation that share properties, yUnits and yUnits with the instance of AbstractDataSet it is associated with. This class is provided so that sub-classes of AbstractDataSet can extend this class when creating views of their data without having to copy the immutable data AbstractDataSet contains.


getProperties

getProperties( ) → Map

Returns:

java.util.Map

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getProperty

getProperty( String name ) → Object

Returns the value of the property that name represents

Parameters

name - String name of the property requested

Returns:

the value of the property that name represents

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXLength

getXLength( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXTagDatum

getXTagDatum( int i ) → Datum

Parameters

i - an int

Returns:

org.das2.datum.Datum

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXTagDouble

getXTagDouble( int i, Units units ) → double

Parameters

i - an int
units - an Units

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXTagInt

getXTagInt( int i, Units units ) → int

Parameters

i - an int
units - an Units

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXUnits

getXUnits( ) → Units

Returns the Units object representing the unit type of the x tags for this data set.

Returns:

the x units

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getYUnits

getYUnits( ) → Units

Returns the Units object representing the unit type of the y tags or y values for this data set.

Returns:

the y units

[search for examples] [view on GitHub] [view on old javadoc] [view source]