org.drools.core.util
Class AbstractHashTable.TripleCompositeIndex

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

public static class AbstractHashTable.TripleCompositeIndex
extends Object
implements AbstractHashTable.Index

See Also:
Serialized Form

Constructor Summary
AbstractHashTable.TripleCompositeIndex()
           
AbstractHashTable.TripleCompositeIndex(AbstractHashTable.FieldIndex[] indexes, int startResult)
           
 
Method Summary
 boolean equal(LeftTuple tuple1, LeftTuple tuple2)
           
 boolean equal(Object right, LeftTuple tuple)
           
 boolean equal(Object object1, Object object2)
           
 AbstractHashTable.FieldIndex getFieldIndex(int index)
           
 int hashCodeOf(LeftTuple tuple)
           
 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

AbstractHashTable.TripleCompositeIndex

public AbstractHashTable.TripleCompositeIndex()

AbstractHashTable.TripleCompositeIndex

public AbstractHashTable.TripleCompositeIndex(AbstractHashTable.FieldIndex[] indexes,
                                              int startResult)
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

getFieldIndex

public AbstractHashTable.FieldIndex getFieldIndex(int index)
Specified by:
getFieldIndex in interface AbstractHashTable.Index

hashCodeOf

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

hashCodeOf

public int hashCodeOf(LeftTuple tuple)
Specified by:
hashCodeOf in interface AbstractHashTable.Index

equal

public boolean equal(Object right,
                     LeftTuple tuple)
Specified by:
equal in interface AbstractHashTable.Index

equal

public boolean equal(LeftTuple tuple1,
                     LeftTuple tuple2)
Specified by:
equal in interface AbstractHashTable.Index

equal

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

rehash

public int rehash(int h)


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