net.sf.molae.logic.basic
Class EvaluationTransformer

java.lang.Object
  |
  +--net.sf.molae.logic.basic.EvaluationTransformer
All Implemented Interfaces:
Transformer

public final class EvaluationTransformer
extends Object
implements Transformer

Transforms a predicate to the result of the evaluation of the predicate and a constant argument.

Since:
1.1

Constructor Summary
EvaluationTransformer(Object input)
          Constructs a new EvaluationTransformer object.
 
Method Summary
 Object transform(Object input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluationTransformer

public EvaluationTransformer(Object input)
Constructs a new EvaluationTransformer object.
Parameters:
input - The constant argument to the evaluate method.
Method Detail

transform

public Object transform(Object input)
Specified by:
transform in interface Transformer