Class MonitorTableListIterator
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 Details
-
MonitorTableListIterator
- Throws:
CorruptDataException
- See Also:
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:java.util.Iterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIterator.next()
would return an element rather than throwing an exception.) -
next
public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer next()Description copied from interface:java.util.Iterator
Returns the next element in the iteration. -
remove
public void remove()Not implemented- Specified by:
remove
in interfaceIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
- Throws:
UnsupportedOperationException
- See Also:
-
currentMonitorTable
- See Also:
-
nextAddress
- Specified by:
nextAddress
in interfaceSlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
- See Also:
-