Package org.drools.fastutil
Class FastUtilTreeMemory
java.lang.Object
org.drools.core.util.index.AbstractTupleIndexTree
org.drools.fastutil.FastUtilTreeMemory
- All Implemented Interfaces:
TupleMemory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class org.drools.core.util.index.AbstractTupleIndexTree
AbstractTupleIndexTree.IndexTupleListNested classes/interfaces inherited from interface org.drools.core.reteoo.TupleMemory
TupleMemory.IndexType -
Field Summary
Fields inherited from class org.drools.core.util.index.AbstractTupleIndexTree
constraintType, factSize, index, left -
Constructor Summary
ConstructorsConstructorDescriptionFastUtilTreeMemory(org.drools.base.util.index.ConstraintTypeOperator constraintType, org.drools.base.util.IndexedValueReader index, boolean left) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()fullFastIterator(TupleImpl tuple) booleanvoidvoidintsize()Methods inherited from class org.drools.core.util.index.AbstractTupleIndexTree
getIndexedValue, getLeftIndexedValue, getRightIndexedValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.core.reteoo.TupleMemory
getIndex
-
Constructor Details
-
FastUtilTreeMemory
public FastUtilTreeMemory(org.drools.base.util.index.ConstraintTypeOperator constraintType, org.drools.base.util.IndexedValueReader index, boolean left)
-
-
Method Details
-
getFirst
- Specified by:
getFirstin interfaceTupleMemory
-
removeAdd
- Specified by:
removeAddin interfaceTupleMemory
-
add
- Specified by:
addin interfaceTupleMemory
-
remove
- Specified by:
removein interfaceTupleMemory
-
isIndexed
public boolean isIndexed()- Specified by:
isIndexedin interfaceTupleMemory- Overrides:
isIndexedin classAbstractTupleIndexTree
-
size
public int size()- Specified by:
sizein interfaceTupleMemory
-
fastIterator
- Specified by:
fastIteratorin interfaceTupleMemory
-
fullFastIterator
- Specified by:
fullFastIteratorin interfaceTupleMemory
-
fullFastIterator
- Specified by:
fullFastIteratorin interfaceTupleMemory
-
getIndexType
- Specified by:
getIndexTypein interfaceTupleMemory
-
clear
public void clear()- Specified by:
clearin interfaceTupleMemory
-