dk.brics.grammar.ambiguity
Class HorizontalOverlapString

java.lang.Object
  extended by dk.brics.grammar.ambiguity.HorizontalOverlapString

public class HorizontalOverlapString
extends Object

Representation of a string with horisontal overlap.


Constructor Summary
HorizontalOverlapString(String s, int i1, int i2)
          Constructs a new horizontal overlap example string.
 
Method Summary
 String getAY()
          Returns the long right substring.
 String getString()
          Returns the entire string.
 String getX()
          Returns the short left substring.
 String getXA()
          Returns the long left substring.
 String getY()
          Returns the short right substring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalOverlapString

public HorizontalOverlapString(String s,
                               int i1,
                               int i2)
Constructs a new horizontal overlap example string.

Parameters:
s - string
i1 - first index
i2 - second index
Method Detail

getAY

public String getAY()
Returns the long right substring.


getString

public String getString()
Returns the entire string.


getX

public String getX()
Returns the short left substring.


getXA

public String getXA()
Returns the long left substring.


getY

public String getY()
Returns the short right substring.



Copyright © 2005-2008 Anders Møller.