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