当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
RandomConflictResolver - JBoss RULES 3.0.6 API 英文版文档
org.drools.conflict
Class RandomConflictResolver
java.lang.Object
org.drools.conflict.AbstractConflictResolver
org.drools.conflict.RandomConflictResolver
- All Implemented Interfaces:
- java.io.Serializable, java.util.Comparator, ConflictResolver
public class RandomConflictResolver
- extends AbstractConflictResolver
ConflictResolver
that uses the semi-random order of rules to
resolve conflict.
- See Also:
getInstance()
,
System.identityHashCode(Object)
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
RandomConflictResolver
public RandomConflictResolver()
- Construct.
getInstance
public static ConflictResolver getInstance()
- Retrieve the singleton instance.
- Returns:
- The singleton instance.
compare
public int compare(Activation lhs,
Activation rhs)
- See Also:
ConflictResolver