org.shiftone.bigcalc.core.literal
Class BooleanLiteralFunctor

java.lang.Object
  extended byorg.shiftone.bigcalc.core.literal.BooleanLiteralFunctor
All Implemented Interfaces:
Functor

public class BooleanLiteralFunctor
extends java.lang.Object
implements Functor

Version:
$Revision: 1.10 $
Author:
$Author: jeffdrost $

Constructor Summary
BooleanLiteralFunctor(java.lang.Boolean literalValue)
           
BooleanLiteralFunctor(java.lang.String valueText)
           
 
Method Summary
 java.lang.Object evaluate(Context context)
           
 void print(java.lang.StringBuffer sb, Context context)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanLiteralFunctor

public BooleanLiteralFunctor(java.lang.Boolean literalValue)

BooleanLiteralFunctor

public BooleanLiteralFunctor(java.lang.String valueText)
Method Detail

evaluate

public java.lang.Object evaluate(Context context)
                          throws java.lang.Exception
Specified by:
evaluate in interface Functor
Throws:
java.lang.Exception

print

public void print(java.lang.StringBuffer sb,
                  Context context)
           throws java.lang.Exception
Specified by:
print in interface Functor
Throws:
java.lang.Exception

toString

public java.lang.String toString()