Interface SubRequestIterator<S>

All Superinterfaces:
Iterator<S>
All Known Implementing Classes:
SnmpRequest.SnmpSubRequestIterator, SnmpRequest.SortedSnmpSubRequestIterator, SubRequestIteratorSupport

public interface SubRequestIterator<S> extends Iterator<S>
The SubRequestIterator interface implements the Iterator interface for SubRequest instances.
Version:
3.1.0
Author:
Frank Fock
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if there are more sub-requests to process.
    Gets the next sub-request that is pending.

    Methods inherited from interface java.util.Iterator

    forEachRemaining, remove
  • Method Details

    • next

      S next() throws NoSuchElementException
      Gets the next sub-request that is pending.
      Specified by:
      next in interface Iterator<S>
      Returns:
      an unprocessed SubRequest instance.
      Throws:
      NoSuchElementException - if there are no more elements available.
    • hasNext

      boolean hasNext()
      Returns true if there are more sub-requests to process. In other words, returns true if next would return an element rather than throwing an exception.
      Specified by:
      hasNext in interface Iterator<S>
      Returns:
      true if there are more sub-requests.