Package org.drools.core.util
Class TripleStore.TripleKeyComparator
- java.lang.Object
-
- org.drools.core.util.TripleStore.TripleKeyComparator
-
- All Implemented Interfaces:
Externalizable,Serializable,AbstractHashTable.ObjectComparator
- Enclosing class:
- TripleStore
public static class TripleStore.TripleKeyComparator extends Object implements AbstractHashTable.ObjectComparator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TripleKeyComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual(Object object1, Object object2)inthashCodeOf(Object object)voidreadExternal(ObjectInput in)intrehash(int h)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
hashCodeOf
public int hashCodeOf(Object object)
- Specified by:
hashCodeOfin interfaceAbstractHashTable.ObjectComparator
-
rehash
public int rehash(int h)
-
areEqual
public boolean areEqual(Object object1, Object object2)
- Specified by:
areEqualin interfaceAbstractHashTable.ObjectComparator
-
-