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

java.lang.Object
  extended by org.databene.commons.expression.BinaryExpression<E>
All Implemented Interfaces:
Expression<E>

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

Abstract parent class for expression that evaluate two terms.

Created at 06.10.2009 14:26:04

Since:
0.5.0
Author:
Volker Bergmann

Field Summary
protected  Expression<?> term1
           
protected  Expression<?> term2
           
 
Constructor Summary
BinaryExpression(Expression<?> term1, Expression<?> term2)
           
 
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

term1

protected Expression<?> term1

term2

protected Expression<?> term2
Constructor Detail

BinaryExpression

public BinaryExpression(Expression<?> term1,
                        Expression<?> term2)
Method Detail

isConstant

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


Copyright © 2010. All Rights Reserved.