Interface SubRequestIterator<S>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Returns true if there are more sub-requests to process.
      S next()
      Gets the next sub-request that is pending.
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Method Detail

      • next

        S next()
        throws java.util.NoSuchElementException
        Gets the next sub-request that is pending.
        Specified by:
        next in interface java.util.Iterator<S>
        Returns:
        an unprocessed SubRequest instance.
        Throws:
        java.util.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 java.util.Iterator<S>
        Returns:
        true if there are more sub-requests.