org.drools.core.util
Class AbstractHashTable.InstanceEquals

java.lang.Object
  extended by org.drools.core.util.AbstractHashTable.InstanceEquals
All Implemented Interfaces:
Externalizable, Serializable, AbstractHashTable.ObjectComparator
Enclosing class:
AbstractHashTable

public static class AbstractHashTable.InstanceEquals
extends Object
implements AbstractHashTable.ObjectComparator

See Also:
Serialized Form

Field Summary
static AbstractHashTable.ObjectComparator INSTANCE
           
 
Method Summary
 boolean equal(Object object1, Object object2)
           
static AbstractHashTable.ObjectComparator getInstance()
           
 int hashCodeOf(Object key)
           
 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
 

Field Detail

INSTANCE

public static AbstractHashTable.ObjectComparator INSTANCE
Method Detail

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

getInstance

public static AbstractHashTable.ObjectComparator getInstance()

hashCodeOf

public int hashCodeOf(Object key)
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 object1,
                     Object object2)
Specified by:
equal in interface AbstractHashTable.ObjectComparator


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