Class PiFunction
- All Implemented Interfaces:
Expression,Function,FunctionExpression,Factory
Allow access to the value of Math.PI as an expression
- Since:
- 2.2, 2.5
- Author:
- Jody Garnett
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, paramsFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParametersMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
PiFunction
public PiFunction()
-
-
Method Details
-
toString
Description copied from class:FunctionExpressionImplCreates a String representation of this Function with the function name and the arguments. The String created should be good for most subclasses- Overrides:
toStringin classFunctionExpressionImpl
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
- default implementation returns null
-