Module openj9.dtfj

Class J9ObjectFieldOffsetIterator_V1

java.lang.Object
com.ibm.j9ddr.vm29.j9.J9ObjectFieldOffsetIterator
com.ibm.j9ddr.vm29.j9.J9ObjectFieldOffsetIterator_V1
All Implemented Interfaces:
Iterator<J9ObjectFieldOffset>

public class J9ObjectFieldOffsetIterator_V1 extends J9ObjectFieldOffsetIterator
Class that calculates offsets into an Object of fields. Based on: resolvefield.cpp description.c
  • Constructor Details

    • J9ObjectFieldOffsetIterator_V1

      protected J9ObjectFieldOffsetIterator_V1(com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointer vm, com.ibm.j9ddr.vm29.pointer.generated.J9ROMClassPointer romClass, com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz, com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer superClazz, U32 flags)
  • 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.)
      Returns:
      true if the iteration has more elements
    • next

      public J9ObjectFieldOffset next()
      Description copied from interface: java.util.Iterator
      Returns the next element in the iteration.
      Returns:
      the next element in the iteration