public class FloatDataSet extends BufferDataSet implements WritableDataSet
Modifier and Type | Class and Description |
---|---|
class |
FloatDataSet.FloatDataSetFloatReadAccess |
back, BITS, BYTE, BYTES, DOUBLE, FLOAT, INT, INT24, INTEGER, logger, LONG, NYBBLE, SHORT, TRUNCATEDFLOAT, UBYTE, UINT, UINT24, USHORT, VAX_FLOAT
properties
AVERAGE_TYPE, BIN_MAX, BIN_MAX_NAME, BIN_MIN, BIN_MIN_NAME, BIN_MINUS, BIN_MINUS_NAME, BIN_PLUS, BIN_PLUS_NAME, BINS_0, BINS_1, BUNDLE_0, BUNDLE_1, BUNDLE_2, BUNDLE_3, CACHE_TAG, CADENCE, CONTEXT_0, CONTEXT_1, COORDINATE_FRAME, DEFAULT_FILL_VALUE, DELTA_MINUS, DELTA_MINUS_NAME, DELTA_PLUS, DELTA_PLUS_NAME, DEPEND_0, DEPEND_1, DEPEND_2, DEPEND_3, DEPENDNAME_0, DEPENDNAME_1, DESCRIPTION, ELEMENT_DIMENSIONS, ELEMENT_LABEL, ELEMENT_NAME, FILL_VALUE, FORMAT, JOIN_0, LABEL, LIMIT_HUGE_DATASET, MAX_HIGH_RANK, MAX_PLANE_COUNT, MAX_RANK, MAX_UNIT_BUNDLE_COUNT, METADATA, METADATA_MODEL, MIN_WAVEFORM_LENGTH, MONOTONIC, NAME, NOTES, PLANE_0, QUBE, RENDER_TYPE, SCALE_TYPE, SOURCE, START_INDEX, TITLE, TYPICAL_MAX, TYPICAL_MIN, UNITS, USER_PROPERTIES, VALID_MAX, VALID_MIN, VALUE_AVERAGE_TYPE_GEOMETRIC, VALUE_AVERAGE_TYPE_LINEAR, VALUE_AVERAGE_TYPE_MOD24, VALUE_AVERAGE_TYPE_MOD360, VALUE_AVERAGE_TYPE_MODPI, VALUE_AVERAGE_TYPE_MODTAU, VALUE_AVERAGE_TYPE_NONE, VALUE_BINS_MIN_MAX, VALUE_BINS_MIN_MAX_INCLUSIVE, VALUE_COORDINATE_FRAME_COMPLEX_NUMBER, VALUE_METADATA_MODEL_ISTP, VALUE_METADATA_MODEL_SPASE, VALUE_RENDER_TYPE_COMPOSITE_IMAGE, VALUE_RENDER_TYPE_DIGITAL, VALUE_RENDER_TYPE_EVENTS_BAR, VALUE_RENDER_TYPE_NNSPECTROGRAM, VALUE_RENDER_TYPE_SERIES, VALUE_RENDER_TYPE_TRIANGLE_MESH, VALUE_SCALE_TYPE_LINEAR, VALUE_SCALE_TYPE_LOG, VERSION, WEIGHTS
Constructor and Description |
---|
FloatDataSet(int rank,
int reclen,
int recoffs,
int len0,
int len1,
int len2,
int len3,
java.nio.ByteBuffer back) |
Modifier and Type | Method and Description |
---|---|
<T> T |
capability(java.lang.Class<T> clazz)
Clients should use this instead of casting the class to the
capability class.
|
void |
putProperty(java.lang.String name,
java.lang.Object value)
check for fill as well, since often numerical noise will corrupt
the fill values.
|
void |
putValue(double d)
put a value into the rank 0 dataset.
|
void |
putValue(int i0,
double d)
put a value into the rank 1 dataset.
|
void |
putValue(int i0,
int i1,
double d)
put a value into the rank 2 dataset.
|
void |
putValue(int i0,
int i1,
int i2,
double d)
put a value into the rank 3 dataset.
|
void |
putValue(int i0,
int i1,
int i2,
int i3,
double d)
put a value into the rank 4 dataset.
|
double |
value()
rank 0 accessor.
|
double |
value(int i0)
rank 1 accessor.
|
double |
value(int i0,
int i1)
rank 2 accessor.
|
double |
value(int i0,
int i1,
int i2)
rank 3 accessor.
|
double |
value(int i0,
int i1,
int i2,
int i3)
rank 4 accessor.
|
about, append, append, bitCount, byteCount, canAppend, compact, copy, copy, create, createRank0, createRank1, createRank2, createRank3, createRank4, ensureWritable, getCompatibleComponentType, getFieldStride, getRecordStride, getType, grow, guessBackingStore, isCompact, joinProperties, jvmMemory, length, length, length, length, makeDataSet, makeDataSet, makeDataSetBits, maybeCopy, offset, offset, offset, offset, offset, rangeCheck, rank, setFieldStride, setLength, setLength1, setRecordStride, shouldAllocateDirect, slice, trim, typeFor
checkImmutable, isImmutable, makeImmutable, property, property, putProperty, svalue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isImmutable, makeImmutable, putProperty
public FloatDataSet(int rank, int reclen, int recoffs, int len0, int len1, int len2, int len3, java.nio.ByteBuffer back)
public double value()
QDataSet
value
in interface QDataSet
value
in class BufferDataSet
public double value(int i0)
QDataSet
value
in interface QDataSet
value
in class BufferDataSet
i0
- the indexpublic double value(int i0, int i1)
QDataSet
value
in interface QDataSet
value
in class BufferDataSet
i0
- the indexi1
- the indexpublic double value(int i0, int i1, int i2)
QDataSet
value
in interface QDataSet
value
in class BufferDataSet
i0
- the indexi1
- the indexi2
- the indexpublic double value(int i0, int i1, int i2, int i3)
QDataSet
value
in interface QDataSet
value
in class BufferDataSet
i0
- the indexi1
- the indexi2
- the indexi3
- the indexpublic void putProperty(java.lang.String name, java.lang.Object value)
putProperty
in interface MutablePropertyDataSet
putProperty
in class AbstractDataSet
name
- the property namevalue
- the property valueputProperty which properly checks mutability of the dataset
,
QDataSet.UNITS
public void putValue(double d)
WritableDataSet
putValue
in interface WritableDataSet
d
- the valuepublic void putValue(int i0, double d)
WritableDataSet
putValue
in interface WritableDataSet
i0
- the indexd
- the valuepublic void putValue(int i0, int i1, double d)
WritableDataSet
putValue
in interface WritableDataSet
i0
- the indexi1
- the indexd
- the valuepublic void putValue(int i0, int i1, int i2, double d)
WritableDataSet
putValue
in interface WritableDataSet
i0
- the indexi1
- the indexi2
- the indexd
- the valuepublic void putValue(int i0, int i1, int i2, int i3, double d)
WritableDataSet
putValue
in interface WritableDataSet
i0
- the indexi1
- the indexi2
- the indexi3
- the indexd
- the valuepublic <T> T capability(java.lang.Class<T> clazz)
capability
in interface QDataSet
capability
in class AbstractDataSet
T
- clazz
- the class, such as WritableDataSet.classLongWriteAccess
,
LongReadAccess
,
FloatReadAccess