Interface CloneableIterator<E>

    • Method Detail

      • hasNext

        boolean hasNext()
        Returns:
        whether there is more
      • next

        E next()
        Returns:
        the next element
      • clone

        CloneableIterator<E> clone()
                            throws java.lang.CloneNotSupportedException
        Returns:
        a copy
        Throws:
        java.lang.CloneNotSupportedException - this should never happen in practice