当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
AlphaNodeSwitch - JBoss RULES 3.0.6 API 英文版文档
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)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object