|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WritableSample
A writable sample is a Sample that can change its value.
| Method Summary | |
|---|---|
void |
set(boolean v)
Sets this sample to the given boolean value. |
void |
set(double v)
Sets this sample to the given double value. |
void |
set(float v)
Sets this sample to the given float value. |
void |
set(int v)
Sets this sample to the given int value. |
void |
set(int bitIndex,
boolean v)
Sets the sample at the given bit index to the given bit value. |
| Methods inherited from interface org.esa.beam.framework.gpf.pointop.Sample |
|---|
getBit, getBoolean, getDataType, getDouble, getFloat, getIndex, getInt, getNode |
| Method Detail |
|---|
void set(int bitIndex,
boolean v)
bit value.
bitIndex - The bit index. Valid range is zero to n-1, where n is 8, 16, 32, 64,
depending on the actual raster data type.v - The new value.void set(boolean v)
boolean value.
v - The new value.void set(int v)
int value.
v - The new value.void set(float v)
float value.
v - The new value.void set(double v)
double value.
v - The new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||