@Test public void testFindInterpolateFunction() throws Exception { System.out.println(" testFindInterpolateFunction"); Literal fallback = ff2.literal("NOT_FOUND"); setupParameters(data, values); Function fn = finder.findFunction("Interpolate", parameters, fallback); Object result = fn.evaluate(feature(0)); assertFalse("Could not locate 'Interpolate' function", result.equals(fallback.getValue())); }
public Object evaluate(Object object) { return evaluate(object, Object.class); }
InterpolateFunction implements Function { public Object evaluate(Object object) { return evaluate(object, Object.class); } }
InterpolateFunction implements Function { public Object evaluate(Object object) { return evaluate(object, Object.class); } InterpolateFunction();  InterpolateFunction(List<Expression> parameters, Literal fallback); }
InterpolateFunction implements Function { public Object evaluate(Object object) { return evaluate(object, Object.class); } InterpolateFunction();  InterpolateFunction(List<Expression> parameters, Literal fallback); String getName(); FunctionName getFunctionName(); List<Expression> getParameters(); Object accept(ExpressionVisitor visitor, Object extraData); Object evaluate(Object object); T evaluate(Object object, Class<T> context); Literal getFallbackValue(); }
InterpolateFunction implements Function { public Object evaluate(Object object) { return evaluate(object, Object.class); } InterpolateFunction();  InterpolateFunction(List<Expression> parameters, Literal fallback); String getName(); FunctionName getFunctionName(); List<Expression> getParameters(); Object accept(ExpressionVisitor visitor, Object extraData); Object evaluate(Object object); T evaluate(Object object, Class<T> context); Literal getFallbackValue(); static final String MODE_LINEAR; static final String MODE_COSINE; static final String MODE_CUBIC; static final String METHOD_NUMERIC; static final String METHOD_COLOR; static final String RASTER_DATA; static final FunctionName NAME; }