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

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


org.drools.common
Class IdentityAssertMapComparator

java.lang.Object
  extended by org.drools.common.IdentityAssertMapComparator
All Implemented Interfaces:
Serializable, AbstractHashTable.ObjectComparator

public class IdentityAssertMapComparator
extends Object
implements AbstractHashTable.ObjectComparator

See Also:
Serialized Form

Constructor Summary
IdentityAssertMapComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 boolean equal(Object o1, Object o2)
          Special comparator that allows FactHandles to be keys, but always checks like for like.
 int hashCodeOf(Object obj)
           
 int rehash(int h)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentityAssertMapComparator

public IdentityAssertMapComparator()
Method Detail

hashCodeOf

public int hashCodeOf(Object obj)
Specified by:
hashCodeOf in interface AbstractHashTable.ObjectComparator

rehash

public int rehash(int h)
Specified by:
rehash in interface AbstractHashTable.ObjectComparator

equal

public boolean equal(Object o1,
                     Object o2)
Special comparator that allows FactHandles to be keys, but always checks like for like.

Specified by:
equal in interface AbstractHashTable.ObjectComparator

compare

public int compare(Object o1,
                   Object o2)

toString

public String toString()
Overrides:
toString in class Object


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