Package org.drools.core.base.evaluators
Class EvaluatorCache
- java.lang.Object
-
- org.drools.core.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
-
-
Constructor Summary
Constructors Constructor Description EvaluatorCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEvaluator(ValueType type, Operator operator, Evaluator evaluator)EvaluatorgetEvaluator(ValueType type, Operator operator)voidreadExternal(ObjectInput in)booleansupportsType(ValueType type)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
supportsType
public boolean supportsType(ValueType type)
-
-