站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

ObjectFactory - JBoss RULES 3.0.6 API 英文版文档


org.drools.base.evaluators
Class ObjectFactory

java.lang.Object
  extended by 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.


Constructor Summary
ObjectFactory()
           
 
Method Summary
static Evaluator getObjectEvaluator(int operator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Method Detail

getObjectEvaluator

public static Evaluator getObjectEvaluator(int operator)