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, isMathExpressionevaluate, evaluateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, evaluate, evaluateprotected MathExpressionImpl()
protected MathExpressionImpl(Expression e1, Expression e2)
public Expression getExpression1()
getExpression1 in interface BinaryExpressionpublic void setExpression1(Expression expression)
public Expression getExpression2()
getExpression2 in interface BinaryExpressionpublic void setExpression2(Expression expression)
protected void ensureOperandsSet()
throws IllegalArgumentException
IllegalArgumentExceptionprotected Object number(double number)
Copyright © 1996–2021 Geotools. All rights reserved.