public class Collection_NearestFunction extends FunctionImpl
Modifier and Type | Field and Description |
---|---|
static FunctionName |
NAME |
functionName
NIL
Constructor and Description |
---|
Collection_NearestFunction()
Creates a new instance of Collection_MaxFunction
|
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Object collection)
Default implementation simply returns the fallbackValue.
|
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toString
evaluate
evaluate
public static FunctionName NAME
public Collection_NearestFunction()
public Object evaluate(Object collection)
FunctionImpl
Please override this method to produce a value based on the provided arguments.
evaluate
in interface Expression
evaluate
in class FunctionImpl
collection
- Object being evaluated; often a FeatureCopyright © 1996–2019 Geotools. All rights reserved.