Package ucar.nc2.util

Interface IOIterator<T>

    • Method Detail

      • hasNext

        boolean hasNext()
                 throws IOException
        Deprecated.
        Returns true if the iteration has more elements. (In other words, returns true if next() would return an element rather than throwing an exception.)
        Returns:
        true if the iteration has more elements
        Throws:
        IOException - on read error
      • next

        T next()
        throws IOException
        Deprecated.
        Returns the next element in the iteration.
        Returns:
        the next element in the iteration
        Throws:
        IOException - on read error
        NoSuchElementException - if the iteration has no more elements