public interface CharProvider
| Modifier and Type | Method and Description |
|---|---|
char |
at(long i) |
char[] |
between(long start,
long end)
This method returns the chars between the given absolute positions.
|
boolean |
changed() |
long |
current()
This method returns the current positions.
|
void |
finish() |
boolean |
finished() |
boolean |
finished(int i) |
void |
forward(int i) |
char |
lookahead() |
char |
lookahead(int i) |
char |
lookbehind() |
char |
lookbehind(int i) |
void |
mark() |
void |
move(long i)
This method moves to the given absolute position.
|
char |
next() |
char |
prev() |
String |
slice(long start,
long end)
This method returns the original String between the given absolute positions.
|
char next()
char lookahead()
char lookahead(int i)
char prev()
char lookbehind()
char lookbehind(int i)
long current()
void move(long i)
i - the position to movecurrent()char[] between(long start,
long end)
start - the first positionend - the last position (exclusive)NegativeArraySizeException - if start is after end (which is not necessarily start < end)current()String slice(long start, long end)
start - the first positionend - the last position (exclusive)NegativeArraySizeException - if start is after end (which is not necessarily start < end)void forward(int i)
void finish()
boolean finished()
boolean finished(int i)
char at(long i)
void mark()
boolean changed()
Copyright © 2016. All rights reserved.