### Question:
ContinuousValueEncoder extends CachingValueEncoder { @Override public String asString(String originalForm) { return getName() + ':' + originalForm; } ContinuousValueEncoder(String name); @Override void addToVector(byte[] originalForm, double weight, Vector data); @Override String asString(String originalForm);  }### Answer:
@Test public void testAsString() { FeatureVectorEncoder enc = new ContinuousValueEncoder("foo"); assertEquals("foo:123", enc.asString("123")); }