Package ghidra.util

# Interface LongIterator

public interface LongIterator
Iterator over a set of Java-type long values.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final LongIterator`
  `EMPTY`
  A default implementation of LongIterator that has no values.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  Return true if there is a next long in this iterator.
  `boolean`
  `hasPrevious()`
  Return true if there a previous long in this iterator.
  `long`
  `next()`
  Get the next long value in this iterator.
  `long`
  `previous()`
  Get the previous long value in this iterator.

- ## Field Details

  - ### EMPTY

    static final LongIterator EMPTY
    A default implementation of LongIterator that has no values.

- ## Method Details

  - ### hasNext

    boolean hasNext()
    Return true if there is a next long in this iterator.

  - ### next

    long next()
    Get the next long value in this iterator.

  - ### hasPrevious

    boolean hasPrevious()
    Return true if there a previous long in this iterator.

  - ### previous

    long previous()
    Get the previous long value in this iterator.