Package org.snmp4j.agent.mox
Class BufferedMOTableModel.RowBufferIterator
java.lang.Object
org.snmp4j.agent.mox.BufferedMOTableModel.RowBufferIterator
- All Implemented Interfaces:
Iterator<R>
- Enclosing class:
BufferedMOTableModel<R extends org.snmp4j.agent.mo.MOTableRow>
The RowBufferIterator implements the iterator needed by the
MOTableModel
to
traverse the model's rows.-
Constructor Summary
ConstructorDescriptionRowBufferIterator
(org.snmp4j.smi.OID lowerBound) Creates the iterator with the specified start row. -
Method Summary
Modifier and TypeMethodDescriptionprotected BufferedMOTableModel<R>.BufferedMOTableRow
<R> fetchNextBufferRow
(org.snmp4j.smi.OID lowerBound, BufferedMOTableModel<R>.BufferedMOTableRow<R> predecessor, boolean includeLowerBound) boolean
hasNext()
next()
void
remove()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
RowBufferIterator
public RowBufferIterator(org.snmp4j.smi.OID lowerBound) Creates the iterator with the specified start row.- Parameters:
lowerBound
- the lower bound index (inclusive) of the first row to return. Ifnull
is specified, the first row will be returned by first call ofnext()
.
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
fetchNextBufferRow
protected BufferedMOTableModel<R>.BufferedMOTableRow<R> fetchNextBufferRow(org.snmp4j.smi.OID lowerBound, BufferedMOTableModel<R>.BufferedMOTableRow<R> predecessor, boolean includeLowerBound)
-