Interface LongIterator


public interface LongIterator
a more efficient iterator for sets of longs
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    long
     
  • Method Details

    • hasNext

      boolean hasNext()
      Returns:
      true iff this iterator has a next element
    • next

      long next()
      Returns:
      next long in the iteration
      Throws:
      NoSuchElementException - if the iteration has no more elements