org.das2.qds.Slice0DataSet
Wraps a rank N dataset, slicing on an index of the first dimension to make a rank N-1 dataset.
This is currently used to implement DataSetOps.slice0().
Slicing a rank 1 dataset results in a rank 0 dataset.
Supports rank 2 depend_1 datasets. Supports CONTEXT_0, DELTA_PLUS, DELTA_MINUS
Supports BINS_1, JOIN_0
Slice0DataSet( QDataSet ds, int index )
Slice0DataSet( QDataSet ds, int index, boolean addContext )
equals
equals( Object obj ) → boolean
Parameters
obj - an Object
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
hashCode
hashCode( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
length
length( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
length( int i0 ) → int
length( int i0, int i1 ) → int
property
property( String name ) → Object
Parameters
name - a String
Returns:
java.lang.Object
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
property( String name, int i ) → Object
rank
rank( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
value
value( ) → double
Returns:
double
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
value( int i ) → double
value( int i0, int i1 ) → double
value( int i0, int i1, int i2 ) → double