- All Superinterfaces:
Iterator<S>
- All Known Implementing Classes:
SnmpRequest.SnmpSubRequestIterator,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:
nextin interfaceIterator<S>- Returns:
- an unprocessed
SubRequestinstance. - Throws:
NoSuchElementException- if there are no more elements available.
-
hasNext
boolean hasNext()Returnstrueif there are more sub-requests to process. In other words, returnstrueif next would return an element rather than throwing an exception.
-