org.das2.dataset.VectorDataSet

Interface definition for datasets comprised of a y value for each x tag such that y(x).


getDatum

getDatum( int i ) → Datum

Returns the Y value for the given index into the x tags as a Datum.

Parameters

i - index of the x tag for the requested value.

Returns:

the value at index location i as a Datum

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


getDouble

getDouble( int i, Units units ) → double

Returns the Y value for the given index into the x tags as a double with the given units.

Parameters

i - index of the x tag for the requested value.
units - the units the returned value should be coverted to.

Returns:

the value at index location i as a double.

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


getInt

getInt( int i, Units units ) → int

Returns the Y value for the given index into the x tags as a int with the given units.

Parameters

i - index of the x tag for the requested value.
units - the units the returned value should be coverted to.

Returns:

the value at index location i as a int.

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