laser.regularlanguage.regularexpression.util
Class REPair<L extends LabelInterface>

java.lang.Object
  extended by laser.regularlanguage.regularexpression.util.REPair<L>
Type Parameters:
L - The type of Label associated with the REs.

public class REPair<L extends LabelInterface>
extends java.lang.Object

The REPair class represents an ordered pair of REs.

Author:
Heather M. Conboy (laser-software@cs.umass.edu)

Constructor Summary
REPair(RE<L> re1, RE<L> re2)
          Creates a new REPair with the given REs.
 
Method Summary
protected  RE<L> getRE1()
          Gets the first RE.
protected  RE<L> getRE2()
          Gets the second RE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

REPair

public REPair(RE<L> re1,
              RE<L> re2)
Creates a new REPair with the given REs.

Parameters:
re1 - The first RE (non-null)
re2 - The second RE (non-null)
Method Detail

getRE1

protected RE<L> getRE1()
Gets the first RE.

Returns:
The first RE

getRE2

protected RE<L> getRE2()
Gets the second RE.

Returns:
The second RE