org.drools.base.evaluators
Class EvaluatorCache
java.lang.Object
org.drools.base.evaluators.EvaluatorCache
- All Implemented Interfaces:
- Externalizable, Serializable
public class EvaluatorCache
- extends Object
- implements Externalizable
A simple helper class to store Evaluators for a given set of
value types and operators
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvaluatorCache
public EvaluatorCache()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
addEvaluator
public void addEvaluator(ValueType type,
Operator operator,
Evaluator evaluator)
getEvaluator
public Evaluator getEvaluator(ValueType type,
Operator operator)
supportsType
public boolean supportsType(ValueType type)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.