Package org.drools.core.util
Class AbstractHashTable.SingleIndex
- java.lang.Object
-
- org.drools.core.util.AbstractHashTable.SingleIndex
-
- All Implemented Interfaces:
Externalizable,Serializable,AbstractHashTable.Index
- Enclosing class:
- AbstractHashTable
public static class AbstractHashTable.SingleIndex extends Object implements AbstractHashTable.Index
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleIndex()SingleIndex(AbstractHashTable.FieldIndex[] indexes, int startResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractHashTable.FieldIndexgetFieldIndex(int index)AbstractHashTable.HashEntryhashCodeOf(Tuple tuple, boolean left)voidreadExternal(ObjectInput in)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
SingleIndex
public SingleIndex()
-
SingleIndex
public SingleIndex(AbstractHashTable.FieldIndex[] indexes, int startResult)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getFieldIndex
public AbstractHashTable.FieldIndex getFieldIndex(int index)
- Specified by:
getFieldIndexin interfaceAbstractHashTable.Index
-
hashCodeOf
public AbstractHashTable.HashEntry hashCodeOf(Tuple tuple, boolean left)
- Specified by:
hashCodeOfin interfaceAbstractHashTable.Index
-
-