Interface IBmLongIterator

All Known Implementing Classes:
BmConcatLongIterator, BmEmptyLongIterator, BmLongArrayIterator, TopObjectIterator

public interface IBmLongIterator
Analog of Iterator class but for long values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the iteration has more elements.
    long
    Returns the next element in the iteration.
  • Method Details

    • hasNext

      boolean hasNext()
      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
    • next

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