public abstract class DelegatingCodepointIterator extends CodepointIterator
CodepointIterator.RestrictedCodepointIterator
Modifier and Type | Method and Description |
---|---|
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
|
forByteArray, forByteArray, forCharArray, forCharBuffer, forCharSequence, forInputStream, forInputStream, forReadableByteChannel, forReadableByteChannel, forReader, lastPosition, remove, restrict, restrict, restrict, restrict, restrict, restrict
public boolean hasNext()
CodepointIterator
hasNext
in interface java.util.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 java.util.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
Copyright © 2010 - 2020 Adobe. All Rights Reserved