Package org.geotools.filter.function
Class Collection_NearestFunction
Object
ExpressionAbstract
FunctionImpl
Collection_NearestFunction
- All Implemented Interfaces:
Expression,Function
Finds the nearest value to the provided one in the attribute domain.
- Since:
- 12.0
- Author:
- Jody Garnett
-
Field Summary
FieldsFields inherited from class FunctionImpl
functionNameFields inherited from interface Expression
NIL -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of Collection_MaxFunction -
Method Summary
Methods inherited from class FunctionImpl
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toStringMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
Collection_NearestFunction
public Collection_NearestFunction()Creates a new instance of Collection_MaxFunction
-
-
Method Details
-
evaluate
Description copied from class:FunctionImplDefault implementation simply returns the fallbackValue.Please override this method to produce a value based on the provided arguments.
- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionImpl- Parameters:
collection- Object being evaluated; often a Feature- Returns:
- value for the provided object
-