Definition at line 36 of file FeatChunk.java.
Public Methods | |
FeatChunk (String sf, double st, double l) | |
FeatChunk constructor. | |
void | addFeature (Object[] f) |
Add the given features to this chunk. | |
void | addFeature (Collection f) |
Add the given features to this chunk. | |
void | addFeature (double[] f) |
Add the given features to this chunk. | |
void | addFeature (Object f) |
Add the given features to this chunk. | |
void | addFeature (double f) |
Add the given features to this chunk. | |
void | setFeature (int idx, double f) |
Set feature dimension idx to the given feature value. | |
void | setFeatures (double[] f) |
Set feature dimension idx to the given feature value. | |
int | numFeatures () |
Returns the number of features associated with this chunk. | |
double[] | getFeatures () |
Get the features associated with this chunk. | |
double[] | getFeatures (int[] idx) |
Get the subset of features corresponding to the dimensions listed in idx. | |
void | clearFeatures () |
Remove the features associated with this Chunk. | |
String | toString () |
Write a description of this Chunk as a String in the format expected in a FeatFile. | |
Object | clone () |
Clone this FeatChunk. |