|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.meapsoft.Chunk com.meapsoft.FeatChunk
Representation of a FeatFile Chunk
Field Summary | |
protected java.util.Vector |
features
|
Fields inherited from class com.meapsoft.Chunk |
comment, length, srcFile, startTime |
Constructor Summary | |
FeatChunk(java.lang.String sf,
double st,
double l)
FeatChunk constructor |
Method Summary | |
void |
addFeature(java.util.Collection f)
Add the given features to this chunk. |
void |
addFeature(double f)
Add the given features to this chunk. |
void |
addFeature(double[] f)
Add the given features to this chunk. |
void |
addFeature(java.lang.Object f)
Add the given features to this chunk. |
void |
addFeature(java.lang.Object[] f)
Add the given features to this chunk. |
void |
clearFeatures()
Remove the features associated with this Chunk |
java.lang.Object |
clone()
Clone this FeatChunk |
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. |
int |
numFeatures()
Returns the number of features associated with 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. |
java.lang.String |
toString()
Write a description of this Chunk as a String in the format expected in a FeatFile |
Methods inherited from class com.meapsoft.Chunk |
compareTo, getSamples |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Vector features
Constructor Detail |
public FeatChunk(java.lang.String sf, double st, double l)
Method Detail |
public void addFeature(java.lang.Object[] f)
public void addFeature(java.util.Collection f)
public void addFeature(double[] f)
public void addFeature(java.lang.Object f)
public void addFeature(double f)
public void setFeature(int idx, double f)
public void setFeatures(double[] f)
public int numFeatures()
public double[] getFeatures()
public double[] getFeatures(int[] idx)
public void clearFeatures()
public java.lang.String toString()
toString
in class Chunk
public java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |