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