Package org.drools.tms
Class TruthMaintenanceSystemEqualityKey
java.lang.Object
org.drools.core.util.LinkedList<DefaultFactHandle>
org.drools.core.common.EqualityKey
org.drools.tms.TruthMaintenanceSystemEqualityKey
- All Implemented Interfaces:
Externalizable,Serializable
Upon instantiation the EqualityKey caches the first Object's hashCode
this can never change. The EqualityKey has an internal datastructure
which references all the handles which are equal. It also records
Whether the referenced facts are JUSTIFIED or STATED
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drools.core.util.LinkedList
LinkedList.JavaUtilIterator<T extends DoubleLinkedEntry<T>>, LinkedList.LinkedListFastIterator, LinkedList.LinkedListIterator<T extends DoubleLinkedEntry<T>>, LinkedList.TMSLinkedListFastIterator<K extends SingleLinkedEntry<K>> -
Field Summary
Fields inherited from class org.drools.core.common.EqualityKey
JUSTIFIED, STATEDFields inherited from class org.drools.core.util.LinkedList
fastIterator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBeliefSet(BeliefSet beliefSet) voidsetLogicalFactHandle(InternalFactHandle logicalFactHandle) Methods inherited from class org.drools.core.common.EqualityKey
addFactHandle, equals, getFactHandle, getStatus, hashCode, readExternal, removeFactHandle, setStatus, toString, writeExternalMethods inherited from class org.drools.core.util.LinkedList
add, addAllToCollection, addFirst, addLast, clear, contains, copyStateInto, fastIterator, get, get, getFirst, getLast, insertAfter, isEmpty, javaUtilIterator, remove, removeAdd, removeFirst, removeLast, size
-
Constructor Details
-
TruthMaintenanceSystemEqualityKey
public TruthMaintenanceSystemEqualityKey() -
TruthMaintenanceSystemEqualityKey
-
TruthMaintenanceSystemEqualityKey
-
-
Method Details
-
getLogicalFactHandle
- Specified by:
getLogicalFactHandlein classEqualityKey
-
setLogicalFactHandle
- Specified by:
setLogicalFactHandlein classEqualityKey
-
getBeliefSet
-
setBeliefSet
-