Package org.geotools.filter.expression
Class AddImpl
- All Implemented Interfaces:
Add,BinaryExpression,Expression
Implementation of Add expression.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
-
Field Summary
Fields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(ExpressionVisitor visitor, Object extraData) Accepts a visitor.protected ObjectdoArithmeticOperation(Double operand1, Double operand2) booleanCompares this expression to the specified object.Subclass should override, default implementation returns null.inthashCode()Override of hashCode method.toString()Methods inherited from class MathExpressionImpl
ensureOperandsSet, getExpression1, getExpression2, handleCollection, number, setExpression1, setExpression2Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface BinaryExpression
getExpression1, getExpression2Methods inherited from interface Expression
evaluate
-
Constructor Details
-
AddImpl
-
-
Method Details
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classExpressionAbstract- Returns:
- default implementation returns null
- Throws:
IllegalArgumentException
-
accept
Description copied from interface:ExpressionAccepts a visitor. Subclasses must implement with a method whose content is the following:return visitor.visit(this, extraData);
- Specified by:
acceptin interfaceExpression
-
equals
Compares this expression to the specified object. Returns true if the -
hashCode
public int hashCode()Override of hashCode method. -
toString
-
doArithmeticOperation
- Specified by:
doArithmeticOperationin classMathExpressionImpl
-