program
Class RepReg

java.lang.Object
  extended by program.RepReg

public class RepReg
extends java.lang.Object

Represents a repetition region. Repetetition regions are identified in the first step of the arc calculation, and are used to 'kick out' other arcs.

Author:
Hannes

Constructor Summary
RepReg(int firstIndex, int secondIndex, int substringLength)
          Creates a new instance.
 
Method Summary
 int getFirstIndex()
          Returns the repregs first index.
 int getSecondIndex()
          Returns the repregs second index.
 int getSubstringLength()
          Returns the repregs substring length.
 void setSecondIndex(int secondIndex)
          Sets the repregs second index.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepReg

public RepReg(int firstIndex,
              int secondIndex,
              int substringLength)
Creates a new instance.

Parameters:
firstIndex - the repetition regions first index
secondIndex - the repetition regions second index
substringLength - the repetition regions substring length
Method Detail

getSecondIndex

public int getSecondIndex()
Returns the repregs second index.


setSecondIndex

public void setSecondIndex(int secondIndex)
Sets the repregs second index.


getFirstIndex

public int getFirstIndex()
Returns the repregs first index.


getSubstringLength

public int getSubstringLength()
Returns the repregs substring length.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object