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
ConstructorsConstructorDescriptionRowBufferIterator(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) booleanhasNext()next()voidremove()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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. Ifnullis 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)
-