## org.das2.qds.SortDataSet

wraps QDataSet, rearranging the elements of the first index as specified by a rank 1 data set of indeces

## SortDataSet( QDataSet source, QDataSet sort )

creates the SortDataSet

## length

length( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]
length( int i ) → int [view source]
length( int i, int j ) → int [view source]
length( int i, int j, int k ) → int [view source]

## property

property( String name ) → Object

TODO: this is dangerous code, because as new properties are added to QDataSet, they may not be handled properly here. (e.g. BIN_PLUS). Note the properties are intended to mask the things that have changed!

### Parameters

name - a String

### Returns:

an Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]
property( String name, int i ) → Object [view source]

## rank

rank( ) → int

### Returns:

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

## value

value( int i ) → double

### Parameters

i - an int

### Returns:

double
[search for examples] [view on GitHub] [view on old javadoc] [view source]
value( int i0, int i1 ) → double [view source]
value( int i0, int i1, int i2 ) → double [view source]
value( int i0, int i1, int i2, int i3 ) → double [view source]