foundry.stringutils
Class StringLineIterator
java.lang.Object
|
+--foundry.stringutils.StringLineIterator
- All Implemented Interfaces:
- Iterator
- public class StringLineIterator
- extends Object
- implements Iterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
LINE_SEPARATOR
private static final String LINE_SEPARATOR
lines
private final LinkedList lines
StringLineIterator
public StringLineIterator(String string,
int position)
StringLineIterator
public StringLineIterator(String string)
static void ()
initializeLines
protected void initializeLines(String string,
int position,
boolean wrap)
next
public Object next()
- Specified by:
next
in interface Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
remove
public void remove()
throws UnsupportedOperationException
- Specified by:
remove
in interface Iterator
Copyright © 2000 - Laird Jarrett Nelson