org.drools.reteoo
Class AlphaNodeSwitch
java.lang.Object
org.drools.reteoo.AlphaNodeSwitch
- All Implemented Interfaces:
- java.io.Serializable
- public class AlphaNodeSwitch
- extends java.lang.Object
- implements java.io.Serializable
AlphaNodeSwitch
A LiteralConstraint wrapper to be used on alpha node hashing algorithm
- See Also:
- Serialized Form
-
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AlphaNodeSwitch
public AlphaNodeSwitch(LiteralConstraint constraint)
addAlphaNode
public void addAlphaNode(org.drools.reteoo.AlphaNode node)
removeAlphaNode
public boolean removeAlphaNode(org.drools.reteoo.AlphaNode node)
getNode
public org.drools.reteoo.AlphaNode getNode(WorkingMemory workingMemory,
InternalFactHandle handle)
getSwitchCount
public int getSwitchCount()
getAllNodes
public java.util.Collection getAllNodes()
equals
public boolean equals(java.lang.Object otherConstraint)
hashCode
public int hashCode()