Module openj9.dtfj

Class DTFJConstantPoolIterator

java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.j9.DTFJConstantPoolIterator
All Implemented Interfaces:
IEventListener, Iterator

public class DTFJConstantPoolIterator extends Object implements Iterator, IEventListener
  • Constructor Details

    • DTFJConstantPoolIterator

      public DTFJConstantPoolIterator(com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer ptr)
  • 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
      Returns:
      true if the iteration has more elements
    • next

      public Object next()
      Description copied from interface: java.util.Iterator
      Returns the next element in the iteration.
      Specified by:
      next in interface Iterator
      Returns:
      the next element in the iteration
    • corruptData

      public void corruptData(String message, CorruptDataException e, boolean fatal)
      Description copied from interface: IEventListener
      Raised when corrupt data is encountered.
      Specified by:
      corruptData in interface IEventListener
      Parameters:
      message - text message related to the corrupt data exception
      e - the corrupt data exception