|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.diff.LineIterator
public final class LineIterator
This class iterates over characters in a line. It actually iterates from the back forward.
| Constructor Summary | |
|---|---|
LineIterator(CharSequence sequence,
int flags,
ColumnMask[] mask)
Construct a Line Iterator+ |
|
| Method Summary | |
|---|---|
int |
getIndex()
Returns the underlying CharSequence index of the last char retrieved. |
boolean |
hasNext()
return true if there are more chars available to be read. |
char |
nextChar()
Returns the next char in the underlying sequence. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineIterator(CharSequence sequence,
int flags,
ColumnMask[] mask)
sequence - the char sequenceflags - the flags to applymask - an array of column masks| Method Detail |
|---|
public boolean hasNext()
public char nextChar()
public int getIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||