public class AddImpl extends MathExpressionImpl implements Add
NIL| Constructor and Description |
|---|
AddImpl(Expression expr1,
Expression expr2) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ExpressionVisitor visitor,
Object extraData)
Accepts a visitor.
|
protected Object |
doArithmeticOperation(Double operand1,
Double operand2) |
boolean |
equals(Object obj)
Compares this expression to the specified object.
|
Object |
evaluate(Object feature)
Subclass should override, default implementation returns null.
|
int |
hashCode()
Override of hashCode method.
|
String |
toString() |
ensureOperandsSet, getExpression1, getExpression2, handleCollection, number, setExpression1, setExpression2isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionevaluategetExpression1, getExpression2evaluatepublic AddImpl(Expression expr1, Expression expr2)
public Object evaluate(Object feature) throws IllegalArgumentException
ExpressionAbstractevaluate in interface Expressionevaluate in class ExpressionAbstractIllegalArgumentExceptionpublic Object accept(ExpressionVisitor visitor, Object extraData)
Expressionreturn visitor.visit(this, extraData);
accept in interface Expressionpublic boolean equals(Object obj)
public int hashCode()
protected Object doArithmeticOperation(Double operand1, Double operand2)
doArithmeticOperation in class MathExpressionImplCopyright © 1996–2021 Geotools. All rights reserved.