public abstract class UnaryExpression<E> extends Object implements WrapperExpression<E>
Expression that serves as parent class for expressions that evaluate a single term.| Modifier and Type | Field and Description |
|---|---|
protected String |
symbol |
protected Expression<?> |
term |
| Constructor and Description |
|---|
UnaryExpression(String symbol,
Expression<?> term) |
| Modifier and Type | Method and Description |
|---|---|
Expression<?>[] |
getSourceExpressions() |
boolean |
isConstant() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevaluateprotected String symbol
protected Expression<?> term
public UnaryExpression(String symbol, Expression<?> term)
public boolean isConstant()
isConstant in interface Expression<E>public Expression<?>[] getSourceExpressions()
getSourceExpressions in interface WrapperExpression<E>Copyright © 2011–2014 Volker Bergmann. All rights reserved.