Documentation of 'edu.rit.hyb.prime.LongIterator' Java class
LongIterator
edu.rit.hyb.prime

Interface LongIterator



  • public interface LongIterator
    Interface LongIterator specifies the interface for an iterator over a sequence of positive numbers of type long.
    • Method Detail

      • next

        long next()
           throws java.io.IOException
        Returns the next number in the sequence.
        Returns:
        Number, or 0 if there are no more numbers.
        Throws:
        java.io.IOException - Thrown if an I/O error occurred.
      • close

        void close()
            throws java.io.IOException
        Close this iterator. Call close() when done using this iterator, to release resources.
        Throws:
        java.io.IOException - Thrown if an I/O error occurred.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.