Interface LongIterator

  • public interface LongIterator
    A long-based iterator. This is not is-a Iterator to prevent autoboxing between Long and long.
    • Method Detail

      • hasNext

        boolean hasNext()
        true if and only if there are more elements to iterate over. false otherwise.
      • next

        long next()
        the next long in the collection. Only valid after hasNext() has been called and returns true.