|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.abdera.i18n.text.CodepointIterator org.apache.abdera.i18n.text.DelegatingCodepointIterator
public abstract class DelegatingCodepointIterator
Base implementation of a CodepointIterator that filters the output of another CodpointIterator
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.abdera.i18n.text.CodepointIterator |
---|
CodepointIterator.RestrictedCodepointIterator |
Field Summary |
---|
Fields inherited from class org.apache.abdera.i18n.text.CodepointIterator |
---|
limit, position |
Constructor Summary | |
---|---|
protected |
DelegatingCodepointIterator(CodepointIterator internal)
|
Method Summary | |
---|---|
protected char |
get()
Get the next char |
protected char |
get(int index)
Get the specified char |
boolean |
hasNext()
True if there are codepoints remaining |
boolean |
isHigh(int index)
Returns true if the char at the specified index is a high surrogate |
boolean |
isLow(int index)
Returns true if the char at the specified index is a low surrogate |
int |
limit()
Return the iterator limit |
Codepoint |
next()
Return the next codepoint |
char[] |
nextChars()
Return the next chars. |
Codepoint |
peek()
Peek the next codepoint |
Codepoint |
peek(int index)
Peek the specified codepoint |
char[] |
peekChars()
Peek the next chars in the iterator. |
int |
position()
Get the iterator position |
void |
position(int position)
Set the iterator position |
int |
remaining()
Return the remaining iterator size |
Methods inherited from class org.apache.abdera.i18n.text.CodepointIterator |
---|
forByteArray, forByteArray, forCharArray, forCharBuffer, forCharSequence, forInputStream, forInputStream, forReadableByteChannel, forReadableByteChannel, forReader, lastPosition, remove, restrict, restrict, restrict, restrict, restrict, restrict |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DelegatingCodepointIterator(CodepointIterator internal)
Method Detail |
---|
protected char get()
CodepointIterator
get
in class CodepointIterator
protected char get(int index)
CodepointIterator
get
in class CodepointIterator
public boolean hasNext()
CodepointIterator
hasNext
in interface Iterator<Codepoint>
hasNext
in class CodepointIterator
public boolean isHigh(int index)
CodepointIterator
isHigh
in class CodepointIterator
public boolean isLow(int index)
CodepointIterator
isLow
in class CodepointIterator
public int limit()
CodepointIterator
limit
in class CodepointIterator
public Codepoint next()
CodepointIterator
next
in interface Iterator<Codepoint>
next
in class CodepointIterator
public char[] nextChars()
CodepointIterator
nextChars
in class CodepointIterator
public Codepoint peek()
CodepointIterator
peek
in class CodepointIterator
public Codepoint peek(int index)
CodepointIterator
peek
in class CodepointIterator
public char[] peekChars()
CodepointIterator
peekChars
in class CodepointIterator
public int position()
CodepointIterator
position
in class CodepointIterator
public int remaining()
CodepointIterator
remaining
in class CodepointIterator
public void position(int position)
CodepointIterator
position
in class CodepointIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |