Class BmLongArrayIterator

    • Constructor Detail

      • BmLongArrayIterator

        public BmLongArrayIterator​(long[] array)
        Constructs a new instance.
        Parameters:
        array - The array the iterator is created for. May not be null.
    • Method Detail

      • hasNext

        public boolean hasNext()
        Description copied from interface: IBmLongIterator
        Returns true if the iteration has more elements. (In other words, returns true if IBmLongIterator.next() would return an element rather than throwing an exception.)
        Specified by:
        hasNext in interface IBmLongIterator
        Returns:
        true if the iteration has more elements
      • next

        public long next()
        Description copied from interface: IBmLongIterator
        Returns the next element in the iteration.
        Specified by:
        next in interface IBmLongIterator
        Returns:
        the next element in the iteration