org.das2.qds.WritableDataSet

Some QDataSets are be mutable as well, meaning their values can be assigned as well as read. In addition to the value() method they have putValue() methods. These datasets cannot be written to once they are made immutable by calling the makeImmutable() of MutablePropertyDataSet, and clients must check the isImmutable flag or call Ops.maybeCopy when they need write access to the data. Mutable datasets warning: No dataset should be mutable once it is accessible to the rest of the system. This would require clients make defensive copies which would seriously degrade performance.


putValue

putValue( double d ) → void

put a value into the rank 0 dataset.

Parameters

d - the value

Returns:

void (returns nothing)

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


putValue

putValue( int i0, double d ) → void

put a value into the rank 1 dataset.

Parameters

i0 - the index
d - the value

Returns:

void (returns nothing)

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


putValue

putValue( int i0, int i1, double d ) → void

put a value into the rank 2 dataset.

Parameters

i0 - the index
i1 - the index
d - the value

Returns:

void (returns nothing)

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


putValue

putValue( int i0, int i1, int i2, double d ) → void

put a value into the rank 3 dataset.

Parameters

i0 - the index
i1 - the index
i2 - the index
d - the value

Returns:

void (returns nothing)

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


putValue

putValue( int i0, int i1, int i2, int i3, double d ) → void

put a value into the rank 4 dataset.

Parameters

i0 - the index
i1 - the index
i2 - the index
i3 - the index
d - the value

Returns:

void (returns nothing)

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