sleep.parser
Class StringIterator

java.lang.Object
  extended bysleep.parser.StringIterator

public class StringIterator
extends Object


Field Summary
protected  int begin
           
protected  int lineNo
           
protected  LinkedList mark1
           
protected  LinkedList mark2
           
protected  int position
           
protected  char[] text
           
protected  String texts
           
 
Constructor Summary
StringIterator(String text)
           
StringIterator(String _text, int _lineNo)
           
 
Method Summary
 String getEntireLine()
           
 int getLineMarker()
           
 int getLineNumber()
           
 boolean hasNext()
           
static void main(String[] args)
           
 void mark()
           
 char next()
           
 String reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

position

protected int position

lineNo

protected int lineNo

text

protected char[] text

texts

protected String texts

begin

protected int begin

mark1

protected LinkedList mark1

mark2

protected LinkedList mark2
Constructor Detail

StringIterator

public StringIterator(String text)

StringIterator

public StringIterator(String _text,
                      int _lineNo)
Method Detail

toString

public String toString()

hasNext

public boolean hasNext()

getLineNumber

public int getLineNumber()

getEntireLine

public String getEntireLine()

getLineMarker

public int getLineMarker()

next

public char next()

mark

public void mark()

reset

public String reset()

main

public static void main(String[] args)