当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
ObjectFactory - JBoss RULES 3.0.6 API 英文版文档
org.drools.base.evaluators
Class ObjectFactory
java.lang.Object
org.drools.base.evaluators.ObjectFactory
public class ObjectFactory
- extends java.lang.Object
This is the misc "bucket" evaluator factory for objects.
It is fairly limited in operations,
and what operations are available are dependent on the exact type.
This supports "<" and ">" etc by requiring objects to implement the comparable interface.
Of course, literals will not work with comparator, as it has no way
of converting from literal to the appropriate type.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectFactory
public ObjectFactory()
getObjectEvaluator
public static Evaluator getObjectEvaluator(int operator)