org.drools.common
Class EqualityAssertMapComparator
java.lang.Object
org.drools.common.EqualityAssertMapComparator
- All Implemented Interfaces:
- Externalizable, Serializable, AbstractHashTable.ObjectComparator
public class EqualityAssertMapComparator
- extends Object
- implements AbstractHashTable.ObjectComparator
- See Also:
- Serialized Form
EqualityAssertMapComparator
public EqualityAssertMapComparator()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
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
equals with the identity of the objects involved
- 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-2013 JBoss Inc.. All Rights Reserved.