Package org.apache.abdera.i18n.text
Class DelegatingCodepointIterator
java.lang.Object
org.apache.abdera.i18n.text.CodepointIterator
org.apache.abdera.i18n.text.DelegatingCodepointIterator
- Direct Known Subclasses:
CodepointIterator.RestrictedCodepointIterator
@Deprecated(since="2021-07-29")
public abstract class DelegatingCodepointIterator
extends CodepointIterator
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()Deprecated.True if there are codepoints remainingbooleanisHigh(int index) Deprecated.Returns true if the char at the specified index is a high surrogatebooleanisLow(int index) Deprecated.Returns true if the char at the specified index is a low surrogateintlimit()Deprecated.Return the iterator limitnext()Deprecated.Return the next codepointchar[]Deprecated.Return the next chars.peek()Deprecated.Peek the next codepointpeek(int index) Deprecated.Peek the specified codepointchar[]Deprecated.Peek the next chars in the iterator.intposition()Deprecated.Get the iterator positionvoidposition(int position) Deprecated.Set the iterator positionintDeprecated.Return the remaining iterator sizeMethods 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, restrictMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
hasNext
public boolean hasNext()Deprecated.Description copied from class:CodepointIteratorTrue if there are codepoints remaining- Specified by:
hasNextin interfaceIterator<Codepoint>- Overrides:
hasNextin classCodepointIterator
-
isHigh
public boolean isHigh(int index) Deprecated.Description copied from class:CodepointIteratorReturns true if the char at the specified index is a high surrogate- Overrides:
isHighin classCodepointIterator
-
isLow
public boolean isLow(int index) Deprecated.Description copied from class:CodepointIteratorReturns true if the char at the specified index is a low surrogate- Overrides:
isLowin classCodepointIterator
-
limit
public int limit()Deprecated.Description copied from class:CodepointIteratorReturn the iterator limit- Overrides:
limitin classCodepointIterator
-
next
Deprecated.Description copied from class:CodepointIteratorReturn the next codepoint- Specified by:
nextin interfaceIterator<Codepoint>- Overrides:
nextin classCodepointIterator
-
nextChars
public char[] nextChars()Deprecated.Description copied from class:CodepointIteratorReturn the next chars. If the codepoint is not supplemental, the char array will have a single member. If the codepoint is supplemental, the char array will have two members, representing the high and low surrogate chars- Overrides:
nextCharsin classCodepointIterator
-
peek
Deprecated.Description copied from class:CodepointIteratorPeek the next codepoint- Overrides:
peekin classCodepointIterator
-
peek
Deprecated.Description copied from class:CodepointIteratorPeek the specified codepoint- Overrides:
peekin classCodepointIterator
-
peekChars
public char[] peekChars()Deprecated.Description copied from class:CodepointIteratorPeek the next chars in the iterator. If the codepoint is not supplemental, the char array will have a single member. If the codepoint is supplemental, the char array will have two members, representing the high and low surrogate chars- Overrides:
peekCharsin classCodepointIterator
-
position
public int position()Deprecated.Description copied from class:CodepointIteratorGet the iterator position- Overrides:
positionin classCodepointIterator
-
remaining
public int remaining()Deprecated.Description copied from class:CodepointIteratorReturn the remaining iterator size- Overrides:
remainingin classCodepointIterator
-
position
public void position(int position) Deprecated.Description copied from class:CodepointIteratorSet the iterator position- Overrides:
positionin classCodepointIterator
-