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

DepthConflictResolver (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.conflict
Class DepthConflictResolver

java.lang.Object
  extended by org.drools.conflict.DepthConflictResolver
All Implemented Interfaces:
Serializable, Comparator, ConflictResolver

public class DepthConflictResolver
extends Object
implements ConflictResolver

See Also:
Serialized Form

Field Summary
static DepthConflictResolver INSTANCE
           
 
Constructor Summary
DepthConflictResolver()
           
 
Method Summary
 int compare(Activation lhs, Activation rhs)
           
 int compare(Object existing, Object adding)
           
static DepthConflictResolver getInstance()
           
 
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
 

Field Detail

INSTANCE

public static final DepthConflictResolver INSTANCE
Constructor Detail

DepthConflictResolver

public DepthConflictResolver()
Method Detail

getInstance

public static DepthConflictResolver getInstance()

compare

public final int compare(Object existing,
                         Object adding)
Specified by:
compare in interface Comparator
See Also:
ConflictResolver

compare

public int compare(Activation lhs,
                   Activation rhs)
Specified by:
compare in interface ConflictResolver


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.