Module openj9.dtfj

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

  • Method Details

    • hasNext

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

      public void remove()
      Not implemented
      Specified by:
      remove in interface Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
      Throws:
      UnsupportedOperationException
      See Also:
    • currentMonitorTable

      public MonitorTable currentMonitorTable()
      See Also:
    • nextAddress

      public VoidPointer nextAddress()
      Specified by:
      nextAddress in interface SlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
      See Also: