org.databene.commons.expression
Class ConstantExpression<E>
java.lang.Object
org.databene.commons.expression.ConstantExpression<E>
- All Implemented Interfaces:
- Expression<E>
public class ConstantExpression<E>
- extends java.lang.Object
- implements Expression<E>
Expression that represents and returns a constant value.
Created: 18.06.2007 17:38:58
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConstantExpression
public ConstantExpression(E value)
getValue
public E getValue()
setValue
public void setValue(E value)
evaluate
public E evaluate(Context context)
- Specified by:
evaluate in interface Expression<E>
isConstant
public boolean isConstant()
- Specified by:
isConstant in interface Expression<E>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.