public class DelegatingCodepointIterator extends Object implements ICodepointIterator
ICodepointIterator| Modifier | Constructor and Description |
|---|---|
protected |
DelegatingCodepointIterator(AbstractCodepointIterator aInternal) |
| Modifier and Type | Method and Description |
|---|---|
protected char |
get() |
protected char |
get(int index) |
boolean |
hasNext() |
boolean |
isHigh(int index) |
boolean |
isLow(int index) |
int |
lastPosition() |
int |
limit() |
Codepoint |
next() |
char[] |
nextChars() |
Codepoint |
peek() |
Codepoint |
peek(int index) |
char[] |
peekChars() |
int |
position() |
void |
position(int position)
Set the iterator position
|
int |
remaining() |
void |
remove() |
CodepointIteratorRestricted |
restrict(ICodepointFilter aFilter) |
CodepointIteratorRestricted |
restrict(ICodepointFilter aFilter,
boolean bScanning) |
CodepointIteratorRestricted |
restrict(ICodepointFilter aFilter,
boolean bScanning,
boolean bInvert) |
protected DelegatingCodepointIterator(@Nonnull AbstractCodepointIterator aInternal)
protected char get()
protected char get(int index)
public boolean hasNext()
hasNext in interface ICodepointIteratorhasNext in interface Iterator<Codepoint>true if there are codepoints remainingpublic int lastPosition()
lastPosition in interface ICodepointIteratorpublic boolean isHigh(int index)
isHigh in interface ICodepointIteratortrue if the char at the specified index is a high
surrogatepublic boolean isLow(int index)
isLow in interface ICodepointIteratortrue if the char at the specified index is a low
surrogatepublic int limit()
limit in interface ICodepointIterator@Nullable public Codepoint next()
next in interface ICodepointIteratornext in interface Iterator<Codepoint>@Nullable public char[] nextChars()
nextChars in interface ICodepointIterator@Nullable public Codepoint peek()
peek in interface ICodepointIterator@Nullable public Codepoint peek(int index)
peek in interface ICodepointIterator@Nullable public char[] peekChars()
peekChars in interface ICodepointIteratorpublic int position()
position in interface ICodepointIteratorpublic int remaining()
remaining in interface ICodepointIteratorpublic void position(int position)
ICodepointIteratorposition in interface ICodepointIterator@Nonnull public CodepointIteratorRestricted restrict(@Nonnull ICodepointFilter aFilter)
restrict in interface ICodepointIterator@Nonnull public CodepointIteratorRestricted restrict(@Nonnull ICodepointFilter aFilter, boolean bScanning)
restrict in interface ICodepointIterator@Nonnull public CodepointIteratorRestricted restrict(@Nonnull ICodepointFilter aFilter, boolean bScanning, boolean bInvert)
restrict in interface ICodepointIteratorCopyright © 2006–2015 phloc systems. All rights reserved.