-
- All Superinterfaces:
java.util.Iterator<S>
- All Known Implementing Classes:
SnmpRequest.SnmpSubRequestIterator,SubRequestIteratorSupport
public interface SubRequestIterator<S> extends java.util.Iterator<S>TheSubRequestIteratorinterface implements the Iterator interface forSubRequestinstances.- Version:
- 3.1.0
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Returnstrueif there are more sub-requests to process.Snext()Gets the next sub-request that is pending.
-
-
-
Method Detail
-
next
S next() throws java.util.NoSuchElementException
Gets the next sub-request that is pending.- Specified by:
nextin interfacejava.util.Iterator<S>- Returns:
- an unprocessed
SubRequestinstance. - Throws:
java.util.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.- Specified by:
hasNextin interfacejava.util.Iterator<S>- Returns:
trueif there are more sub-requests.
-
-