agg.parser
Class RuleInstances

java.lang.Object
  extended by agg.parser.RuleInstances

public class RuleInstances
extends java.lang.Object

This a a container for matches. This container can check if a certain match is in the container.


Constructor Summary
protected RuleInstances()
          Creates a new empty container.
 
Method Summary
protected  void add(Match m)
          Adds a match to the container.
protected  void finalize()
          Clears some internal stuff.
protected  boolean isIn(Match m)
          Checks if a given match is in this container.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleInstances

protected RuleInstances()
Creates a new empty container.

Method Detail

add

protected void add(Match m)
Adds a match to the container.

Parameters:
m - A match.

isIn

protected boolean isIn(Match m)
Checks if a given match is in this container.

Parameters:
m - The match of this rule
Returns:
true if the match is in this container.

finalize

protected void finalize()
Clears some internal stuff.

Overrides:
finalize in class java.lang.Object