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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvaluationTransformer
public EvaluationTransformer(Object input)
- Constructs a new EvaluationTransformer object.
- Parameters:
input - The constant argument to the evaluate method.
transform
public Object transform(Object input)
- Specified by:
transform in interface Transformer