Package org.drools.core.common
Class EqualityAssertMapComparator
- java.lang.Object
-
- org.drools.core.util.AbstractHashTable.AbstractObjectComparator
-
- org.drools.core.common.EqualityAssertMapComparator
-
- All Implemented Interfaces:
Externalizable,Serializable,AbstractHashTable.ObjectComparator
public class EqualityAssertMapComparator extends AbstractHashTable.AbstractObjectComparator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EqualityAssertMapComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual(Object o1, Object o2)Special comparator that allows FactHandles to be keys, but always checks equals with the identity of the objects involvedintcompare(Object o1, Object o2)inthashCodeOf(Object obj)voidreadExternal(ObjectInput in)StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Throws:
IOException
-
hashCodeOf
public int hashCodeOf(Object obj)
-
areEqual
public boolean areEqual(Object o1, Object o2)
Special comparator that allows FactHandles to be keys, but always checks equals with the identity of the objects involved
-
-