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) |
AbstractCodepointIterator |
getInternalIterator() |
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(IntPredicate aFilter) |
CodepointIteratorRestricted |
restrict(IntPredicate aFilter,
boolean bScanning) |
CodepointIteratorRestricted |
restrict(IntPredicate aFilter,
boolean bScanning,
boolean bInvert) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected DelegatingCodepointIterator(@Nonnull AbstractCodepointIterator aInternal)
@Nonnull public AbstractCodepointIterator getInternalIterator()
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 ICodepointIteratorindex - indextrue if the char at the specified index is a high
surrogatepublic boolean isLow(int index)
isLow in interface ICodepointIteratorindex - indextrue 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 ICodepointIteratorindex - index@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 ICodepointIteratorposition - new position@Nonnull public CodepointIteratorRestricted restrict(@Nonnull IntPredicate aFilter)
restrict in interface ICodepointIterator@Nonnull public CodepointIteratorRestricted restrict(@Nonnull IntPredicate aFilter, boolean bScanning)
restrict in interface ICodepointIterator@Nonnull public CodepointIteratorRestricted restrict(@Nonnull IntPredicate aFilter, boolean bScanning, boolean bInvert)
restrict in interface ICodepointIteratorCopyright © 2014–2022 Philip Helger. All rights reserved.