## org.das2.qds.WritableDataSetWrapper

Jython needs all datasets to be writable, and this provides the write capability while avoiding unnecessary copies when the dataset is never mutated.

## WritableDataSetWrapper( QDataSet ds )

create the WritableDataSetWrapper

## length

length( ) → int

return the length the dimension at the index.

### Returns:

the length of the dimension.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## length

length( int i0 ) → int

return the length the dimension at the index.

### Parameters

i0 - index 0

### Returns:

the length of the dimension.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## length

length( int i0, int i1 ) → int

return the length the dimension at the index.

### Parameters

i0 - index 0
i1 - index 1

### Returns:

the length of the dimension.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## length

length( int i0, int i1, int i2 ) → int

return the length the dimension at the index.

### Parameters

i0 - index 0
i1 - index 1
i2 - index 2

### Returns:

the length of the dimension.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## putValue

putValue( double d ) → void

insert the new value at this index. If this is the first write to the dataset, then a writable dataset is created.

### 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

insert the new value at this index. If this is the first write to the dataset, then a writable dataset is created.

### Parameters

i0 - index 0
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

insert the new value at this index. If this is the first write to the dataset, then a writable dataset is created.

### Parameters

i0 - index 0
i1 - index 1
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

insert the new value at this index. If this is the first write to the dataset, then a writable dataset is created.

### Parameters

i0 - index 0
i1 - index 1
i2 - index 2
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

insert the new value at this index. If this is the first write to the dataset, then a writable dataset is created.

### Parameters

i0 - index 0
i1 - index 1
i2 - index 2
i3 - index 3
d - the value

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## rank

rank( ) → int

return the rank of the dataset.

### Returns:

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

## value

value( ) → double

return the value of this rank 0 dataset.

### Returns:

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

## value

value( int i0 ) → double

return the value at this index.

### Parameters

i0 - index 0

### Returns:

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

## value

value( int i0, int i1 ) → double

return the value at this index.

### Parameters

i0 - index 0
i1 - index 1

### Returns:

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

## value

value( int i0, int i1, int i2 ) → double

return the value at this index.

### Parameters

i0 - index 0
i1 - index 1
i2 - index 2

### Returns:

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

## value

value( int i0, int i1, int i2, int i3 ) → double

return the value at this index.

### Parameters

i0 - index 0
i1 - index 1
i2 - index 2
i3 - index 3

### Returns:

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