Package org.geotools.filter.expression
Class MultiplyImpl
Object
ExpressionAbstract
DefaultExpression
MathExpressionImpl
MultiplyImpl
- All Implemented Interfaces:
BinaryExpression
,Expression
,Multiply
Implementation of Multiply 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 Object
doArithmeticOperation
(Double operand1, Double operand2) boolean
Compares this expression to the specified object.Subclass should override, default implementation returns null.int
hashCode()
Override of hashCode method.toString()
Methods inherited from class MathExpressionImpl
ensureOperandsSet, getExpression1, getExpression2, handleCollection, number, setExpression1, setExpression2
Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
Methods inherited from class ExpressionAbstract
evaluate
Methods inherited from interface BinaryExpression
getExpression1, getExpression2
Methods inherited from interface Expression
evaluate
-
Constructor Details
-
MultiplyImpl
-
-
Method Details
-
evaluate
Description copied from class:ExpressionAbstract
Subclass should override, default implementation returns null.- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classExpressionAbstract
- Returns:
- default implementation returns null
- Throws:
IllegalArgumentException
-
accept
Description copied from interface:Expression
Accepts a visitor. Subclasses must implement with a method whose content is the following:return visitor.visit(this, extraData);
- Specified by:
accept
in 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:
doArithmeticOperation
in classMathExpressionImpl
-