- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.MonitorTableListIterator
-
- All Implemented Interfaces:
SlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>,Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
public class MonitorTableListIterator extends Object implements SlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
Iterates over all the J9ObjectMonitor entries in all of the monitor tables in the monitor table list
-
-
Constructor Summary
Constructors Constructor Description MonitorTableListIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorTablecurrentMonitorTable()booleanhasNext()Returnstrueif the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointernext()Returns the next element in the iteration.VoidPointernextAddress()voidremove()Not implemented-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
MonitorTableListIterator
public MonitorTableListIterator() throws CorruptDataException- Throws:
CorruptDataException- See Also:
SlotIterator
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:java.util.IteratorReturnstrueif the iteration has more elements. (In other words, returnstrueifIterator.next()would return an element rather than throwing an exception.)- Specified by:
hasNextin interfaceIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>- Returns:
trueif the iteration has more elements- See Also:
SlotIterator
-
next
public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer next()
Description copied from interface:java.util.IteratorReturns the next element in the iteration.- Specified by:
nextin interfaceIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>- Returns:
- the next element in the iteration
- See Also:
SlotIterator
-
remove
public void remove()
Not implemented- Specified by:
removein interfaceIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>- Throws:
UnsupportedOperationException- See Also:
SlotIterator
-
currentMonitorTable
public MonitorTable currentMonitorTable()
- See Also:
SlotIterator
-
nextAddress
public VoidPointer nextAddress()
- Specified by:
nextAddressin interfaceSlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>- See Also:
SlotIterator
-
-