コード例 #1
0
ファイル: RuleRemovalContext.java プロジェクト: qarkly/drools
 /**
  * We need to track tuple source nodes that we visit to avoid multiple removal in case of
  * subnetworks
  *
  * @param node
  * @return
  */
 public boolean alreadyVisited(LeftTupleSource node) {
   return this.visitedNodes.containsKey(new Integer(node.getId()));
 }
コード例 #2
0
ファイル: RuleRemovalContext.java プロジェクト: qarkly/drools
 /**
  * We need to track tuple source nodes that we visit to avoid multiple removal in case of
  * subnetworks
  *
  * @param node
  */
 public void visitTupleSource(LeftTupleSource node) {
   this.visitedNodes.put(new Integer(node.getId()), node);
 }