Class LongListReferenceIterator

java.lang.Object
com.ibm.jvm.dtfjview.heapdump.LongListReferenceIterator
All Implemented Interfaces:
ReferenceIterator

public class LongListReferenceIterator extends Object implements ReferenceIterator
Reference iterator based on a list of Longs.
  • Constructor Details

    • LongListReferenceIterator

      public LongListReferenceIterator(List data)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface ReferenceIterator
      Returns:
      True if next() will return non-null, false otherwise.
    • next

      public Long next()
      Specified by:
      next in interface ReferenceIterator
      Returns:
      Next reference
    • reset

      public void reset()
      Description copied from interface: ReferenceIterator
      Resets the iterator back to the start of the structure it is iterating. Iterator will behave as if it has just been constructed
      Specified by:
      reset in interface ReferenceIterator