public interface ICodepointIterator extends Iterator<Codepoint>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
isHigh(int nIndex) |
boolean |
isLow(int nIndex) |
int |
lastPosition() |
int |
limit() |
Codepoint |
next() |
char[] |
nextChars() |
Codepoint |
peek() |
Codepoint |
peek(int nIndex) |
char[] |
peekChars() |
int |
position() |
void |
position(int nPos)
Set the iterator position
|
int |
remaining() |
CodepointIteratorRestricted |
restrict(ICodepointFilter aFilter) |
CodepointIteratorRestricted |
restrict(ICodepointFilter aFilter,
boolean bScanning) |
CodepointIteratorRestricted |
restrict(ICodepointFilter aFilter,
boolean bScanning,
boolean bInvert) |
boolean hasNext()
@CheckForSigned int lastPosition()
@Nullable char[] nextChars()
@Nullable char[] peekChars()
@Nullable Codepoint peek(@Nonnegative int nIndex)
nIndex - indexvoid position(@Nonnegative int nPos)
nPos - new position@Nonnegative int position()
@Nonnegative int limit()
@Nonnegative int remaining()
boolean isHigh(@Nonnegative int nIndex)
nIndex - indextrue if the char at the specified index is a high
surrogateboolean isLow(@Nonnegative int nIndex)
nIndex - indextrue if the char at the specified index is a low
surrogate@Nonnull CodepointIteratorRestricted restrict(@Nonnull ICodepointFilter aFilter)
@Nonnull CodepointIteratorRestricted restrict(@Nonnull ICodepointFilter aFilter, boolean bScanning)
@Nonnull CodepointIteratorRestricted restrict(@Nonnull ICodepointFilter aFilter, boolean bScanning, boolean bInvert)
Copyright © 2014–2015 Philip Helger. All rights reserved.