Package org.apache.abdera.i18n.text
Class CodepointIterator.RestrictedCodepointIterator
- java.lang.Object
-
- org.apache.abdera.i18n.text.CodepointIterator
-
- org.apache.abdera.i18n.text.DelegatingCodepointIterator
-
- org.apache.abdera.i18n.text.CodepointIterator.RestrictedCodepointIterator
-
- All Implemented Interfaces:
java.util.Iterator<Codepoint>
- Enclosing class:
- CodepointIterator
@Deprecated(since="2021-07-29") public static class CodepointIterator.RestrictedCodepointIterator extends DelegatingCodepointIterator
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.abdera.i18n.text.CodepointIterator
CodepointIterator.RestrictedCodepointIterator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.True if there are codepoints remainingCodepoint
next()
Deprecated.Return the next codepointchar[]
nextChars()
Deprecated.Return the next chars.-
Methods inherited from class org.apache.abdera.i18n.text.DelegatingCodepointIterator
isHigh, isLow, limit, peek, peek, peekChars, position, position, remaining
-
Methods 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, restrict
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Deprecated.Description copied from class:CodepointIterator
True if there are codepoints remaining- Specified by:
hasNext
in interfacejava.util.Iterator<Codepoint>
- Overrides:
hasNext
in classDelegatingCodepointIterator
-
next
public Codepoint next() throws InvalidCharacterException
Deprecated.Description copied from class:CodepointIterator
Return the next codepoint- Specified by:
next
in interfacejava.util.Iterator<Codepoint>
- Overrides:
next
in classDelegatingCodepointIterator
- Throws:
InvalidCharacterException
-
nextChars
public char[] nextChars() throws InvalidCharacterException
Deprecated.Description copied from class:CodepointIterator
Return 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:
nextChars
in classDelegatingCodepointIterator
- Throws:
InvalidCharacterException
-
-