Class CharIterators.EmptyIterator

    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Character>
        Specified by:
        hasNext in interface java.util.ListIterator<java.lang.Character>
      • hasPrevious

        public boolean hasPrevious()
        Description copied from interface: BidirectionalIterator
        Returns whether there is a previous element.
        Specified by:
        hasPrevious in interface BidirectionalIterator<java.lang.Character>
        Specified by:
        hasPrevious in interface java.util.ListIterator<java.lang.Character>
        Returns:
        whether there is a previous element.
        See Also:
        ListIterator.hasPrevious()
      • nextChar

        public char nextChar()
        Description copied from interface: CharIterator
        Returns the next element as a primitive type.
        Specified by:
        nextChar in interface CharIterator
        Returns:
        the next element in the iteration.
        See Also:
        Iterator.next()
      • nextIndex

        public int nextIndex()
        Specified by:
        nextIndex in interface java.util.ListIterator<java.lang.Character>
      • previousIndex

        public int previousIndex()
        Specified by:
        previousIndex in interface java.util.ListIterator<java.lang.Character>
      • clone

        public java.lang.Object clone()