org.das2.qds.OldDataSetIterator

Iterator that provides access to each dataset point, hiding rank when when it is not needed. TODO: Rank2 and Rank3 have problems with zero length indeces.


create

create( QDataSet ds ) → org.das2.qds.OldDataSetIterator

Parameters

ds - a QDataSet

Returns:

org.das2.qds.OldDataSetIterator

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


getIndex

getIndex( int idim ) → int

returns the idimth index0 that the cursor is pointing at, after the next() was called.

Parameters

idim - an int

Returns:

an int

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


hasNext

hasNext( ) → boolean

true if more data is available.

Returns:

boolean

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


main

main( String[] args ) → void

Parameters

args - a java.lang.String[]

Returns:

void (returns nothing)

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


next

next( ) → double

return the next point.

Returns:

double

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


putValue

putValue( org.das2.qds.WritableDataSet ds, org.das2.qds.OldDataSetIterator it, double v ) → void

Parameters

ds - a WritableDataSet
it - an OldDataSetIterator
v - a double

Returns:

void (returns nothing)

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