Module hash4j

Interface PackedArray.PackedArrayReadIterator

Enclosing class:
PackedArray

public static interface PackedArray.PackedArrayReadIterator
A read iterator to read the values of all components in sequential order.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the iteration has more components.
    long
    Returns the value of the next component in the iteration.
  • Method Details

    • hasNext

      boolean hasNext()
      Returns true if the iteration has more components.
      Returns:
      true if the iteration has more components
    • next

      long next()
      Returns the value of the next component in the iteration.

      The behavior is undefined if there are no further components.

      Returns:
      the value of the next component in the iteration