Module openj9.dtfj

Class J9ROMFieldShapeIterator

java.lang.Object
com.ibm.j9ddr.vm29.j9.J9ROMFieldShapeIterator
All Implemented Interfaces:
Iterable<com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer>, Iterator

public class J9ROMFieldShapeIterator extends Object implements Iterator, Iterable<com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer>
  • Constructor Details

    • J9ROMFieldShapeIterator

      public J9ROMFieldShapeIterator(com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer romFields, UDATA romFieldCount)
  • 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
    • iterator

      public Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer> iterator()
      Description copied from interface: java.lang.Iterable
      Returns an iterator over elements of type T.
      Specified by:
      iterator in interface Iterable<com.ibm.j9ddr.vm29.pointer.generated.J9ROMFieldShapePointer>
      Returns:
      an Iterator.