PropertyName exp = ff.property("foo");
Function standardDeviation = ff.function("StandardDeviation", exp, classes);
assertNotNull( "step 1 - standard deviation function", standardDeviation );
final Classifier classifer = standardDeviation.evaluate( featureCollection, Classifier.class );
featureCollection.accepts( new FeatureVisitor() {
@Override
public void visit(Feature f) {
SimpleFeature feature = (SimpleFeature) f;
Object value = feature.getAttribute("foo");
assertNotNull( feature.getID()+" foo", value );