- All Superinterfaces:
Iterator<S>
- All Known Implementing Classes:
SnmpRequest.SnmpSubRequestIterator
,SnmpRequest.SortedSnmpSubRequestIterator
,SubRequestIteratorSupport
The
SubRequestIterator
interface implements
the Iterator interface for SubRequest
instances.- Version:
- 3.1.0
- Author:
- Frank Fock
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
next
Gets the next sub-request that is pending.- Specified by:
next
in interfaceIterator<S>
- Returns:
- an unprocessed
SubRequest
instance. - Throws:
NoSuchElementException
- if there are no more elements available.
-
hasNext
boolean hasNext()Returnstrue
if there are more sub-requests to process. In other words, returnstrue
if next would return an element rather than throwing an exception.
-