com.metamatrix.query.optimizer.relational
Class RuleStack

java.lang.Object
  extended by com.metamatrix.query.optimizer.relational.RuleStack

public class RuleStack
extends java.lang.Object


Constructor Summary
RuleStack()
           
 
Method Summary
 void addLast(OptimizerRule rule)
           
 boolean contains(OptimizerRule rule)
           
 boolean isEmpty()
           
 OptimizerRule pop()
           
 void push(OptimizerRule rule)
           
 void remove(OptimizerRule rule)
          Remove all occurrences of this rule in the stack
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleStack

public RuleStack()
Method Detail

push

public void push(OptimizerRule rule)

addLast

public void addLast(OptimizerRule rule)

pop

public OptimizerRule pop()

isEmpty

public boolean isEmpty()

size

public int size()

remove

public void remove(OptimizerRule rule)
Remove all occurrences of this rule in the stack

Parameters:
rule - The rule to remove
Since:
4.2

contains

public boolean contains(OptimizerRule rule)


Copyright © 2009. All Rights Reserved.