org.databene.commons.expression
Class UnaryExpression<E>

java.lang.Object
  extended by org.databene.commons.expression.UnaryExpression<E>
All Implemented Interfaces:
Expression<E>
Direct Known Subclasses:
ScriptableLiteral, StringExpression, TypeConvertingExpression

public abstract class UnaryExpression<E>
extends java.lang.Object
implements Expression<E>

Abstract Expression that serves as parent class for expressions that evaluate a single term.

Created at 06.10.2009 14:26:04

Since:
0.5.0
Author:
Volker Bergmann

Field Summary
protected  Expression<?> term
           
 
Constructor Summary
UnaryExpression(Expression<?> term)
           
 
Method Summary
 boolean isConstant()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.databene.commons.Expression
evaluate
 

Field Detail

term

protected Expression<?> term
Constructor Detail

UnaryExpression

public UnaryExpression(Expression<?> term)
Method Detail

isConstant

public boolean isConstant()
Specified by:
isConstant in interface Expression<E>


Copyright © 2010. All Rights Reserved.