Class WordIterator

java.lang.Object
org.luwrain.util.WordIterator

public class WordIterator extends Object
  • Field Details

    • line

      protected final String line
    • pos

      protected int pos
    • announce

      protected String announce
  • Constructor Details

    • WordIterator

      public WordIterator(String line, int pos)
  • Method Details

    • stepForward

      public boolean stepForward()
    • stepBackward

      public boolean stepBackward()
    • pos

      public int pos()
    • announce

      public String announce()