站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

AlphaNodeSwitch - JBoss RULES 3.0.6 API 英文版文档


org.drools.reteoo
Class AlphaNodeSwitch

java.lang.Object
  extended by 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

Constructor Summary
AlphaNodeSwitch(LiteralConstraint constraint)
           
 
Method Summary
 void addAlphaNode(org.drools.reteoo.AlphaNode node)
           
 boolean equals(java.lang.Object otherConstraint)
           
 java.util.Collection getAllNodes()
           
 org.drools.reteoo.AlphaNode getNode(WorkingMemory workingMemory, InternalFactHandle handle)
           
 int getSwitchCount()
           
 int hashCode()
           
 boolean removeAlphaNode(org.drools.reteoo.AlphaNode node)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlphaNodeSwitch

public AlphaNodeSwitch(LiteralConstraint constraint)
Method Detail

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