public class TupleDesc_F32 extends java.lang.Object implements TupleDesc<TupleDesc_F32>
| Modifier and Type | Field and Description |
|---|---|
float[] |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
TupleDesc_F32() |
|
TupleDesc_F32(int numFeatures) |
| Modifier and Type | Method and Description |
|---|---|
TupleDesc_F32 |
copy()
Creates a copy of this description
|
double |
getDouble(int index)
Returns the value of a tuple's element as a double.
|
float[] |
getValue() |
void |
set(float... value) |
void |
setTo(TupleDesc_F32 source)
Sets this tuple to be the same as the provided tuple
|
void |
setValue(float[] value) |
int |
size()
Number of elements in the tuple.
|
public TupleDesc_F32(int numFeatures)
protected TupleDesc_F32()
public void set(float... value)
public TupleDesc_F32 copy()
TupleDesccopy in interface TupleDesc<TupleDesc_F32>public float[] getValue()
public void setValue(float[] value)
public void setTo(TupleDesc_F32 source)
TupleDescsetTo in interface TupleDesc<TupleDesc_F32>source - The tuple which this one is to become a copy of.public double getDouble(int index)
TupleDescgetDouble in interface TupleDesc<TupleDesc_F32>index - Which elementpublic int size()
TupleDescsize in interface TupleDesc<TupleDesc_F32>