org.drools.core.util
Class TripleStore.TripleKeyComparator

java.lang.Object
  extended by 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
TripleStore.TripleKeyComparator()
           
 
Method Summary
 boolean equal(Object object1, Object object2)
           
 int hashCodeOf(Object object)
           
 void readExternal(ObjectInput in)
           
 int rehash(int h)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleStore.TripleKeyComparator

public TripleStore.TripleKeyComparator()
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

hashCodeOf

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

rehash

public int rehash(int h)

equal

public boolean equal(Object object1,
                     Object object2)
Specified by:
equal in interface AbstractHashTable.ObjectComparator


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.