/** * This method calls {@link #evaluate(Feature)}. * * @deprecated use {@link #evaluate(Feature)}. */ public final Object getValue(Feature feature) { return evaluate((Object)feature); }
/** * This method calls {@link #evaluate(Feature)}. * * @deprecated use {@link #evaluate(Feature)}. */ public final Object getValue(SimpleFeature feature) { return evaluate((Object)feature); }
/** * Returns a value for this expression. If the expression is an attribute * expression then the attribute of the feature should be returned. If a * literal then the feature is ignored, the literal is returned as it has * no relation to the feature. * * @param feature Specified feature to use when returning value. * * @return The value of this expression based on the feature. * * @task REVISIT: make abstract? */ public Object evaluate(SimpleFeature feature) { return evaluate((Object)feature); }
/** * Returns a value for this expression. If the expression is an attribute * expression then the attribute of the feature should be returned. If a * literal then the feature is ignored, the literal is returned as it has * no relation to the feature. * * @param feature Specified feature to use when returning value. * * @return The value of this expression based on the feature. * * @task REVISIT: make abstract? */ public Object evaluate(Feature feature) { return evaluate((Object)feature); }