Class DelegatingCodepointIterator

  • All Implemented Interfaces:
    java.util.Iterator<Codepoint>
    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
    • Method Detail

      • hasNext

        public boolean hasNext()
        Deprecated.
        Description copied from class: CodepointIterator
        True if there are codepoints remaining
        Specified by:
        hasNext in interface java.util.Iterator<Codepoint>
        Overrides:
        hasNext in class CodepointIterator
      • isHigh

        public boolean isHigh​(int index)
        Deprecated.
        Description copied from class: CodepointIterator
        Returns true if the char at the specified index is a high surrogate
        Overrides:
        isHigh in class CodepointIterator
      • isLow

        public boolean isLow​(int index)
        Deprecated.
        Description copied from class: CodepointIterator
        Returns true if the char at the specified index is a low surrogate
        Overrides:
        isLow in class CodepointIterator
      • nextChars

        public char[] nextChars()
        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 class CodepointIterator
      • peekChars

        public char[] peekChars()
        Deprecated.
        Description copied from class: CodepointIterator
        Peek 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:
        peekChars in class CodepointIterator