FeatureVector implements java.io.Serializable { public int size() { return this.features.length; } FeatureVector(FeatureVector _fv);  FeatureVector(int numFeatures);  FeatureVector(double [] vals, ClassLabel _classLabel); int size(); ClassLabel getClassLabel(); int getIntClassLabel(); void setClassLabel(ClassLabel classLabel); void set(int index, double value); double get(int index); double get(int index, double _default); double[] getAll(); void clear();  }
@Test public void testSize() { assertEquals("FeatureVector constructor size mismatch fail", featureVector.size(), size); }