public abstract class MathExpressionImpl extends DefaultExpression implements BinaryExpression
NIL
Modifier | Constructor and Description |
---|---|
protected |
MathExpressionImpl()
No argument constructor.
|
protected |
MathExpressionImpl(Expression e1,
Expression e2) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doArithmeticOperation(Double operand1,
Double operand2) |
protected void |
ensureOperandsSet()
Convenience method which ensures that both expressions have been set.
|
Expression |
getExpression1()
Gets the left or first expression.
|
Expression |
getExpression2()
Gets the second expression.
|
protected Object |
handleCollection(Object value1,
Object value2) |
protected Object |
number(double number) |
void |
setExpression1(Expression expression)
Gets the left or first expression.
|
void |
setExpression2(Expression expression)
Gets the second expression.
|
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
evaluate, evaluate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, evaluate, evaluate
protected MathExpressionImpl()
protected MathExpressionImpl(Expression e1, Expression e2)
public Expression getExpression1()
getExpression1
in interface BinaryExpression
public void setExpression1(Expression expression)
public Expression getExpression2()
getExpression2
in interface BinaryExpression
public void setExpression2(Expression expression)
protected void ensureOperandsSet() throws IllegalArgumentException
IllegalArgumentException
protected Object number(double number)
Copyright © 1996–2022 Geotools. All rights reserved.