Class TracePointThreadChronologicalIterator<Type extends TracePoint>

java.lang.Object
com.ibm.jvm.trace.TracePointThreadChronologicalIterator<Type>
All Implemented Interfaces:
Iterator

public class TracePointThreadChronologicalIterator<Type extends TracePoint> extends Object implements Iterator
  • Constructor Details

    • TracePointThreadChronologicalIterator

      public TracePointThreadChronologicalIterator(TraceThread thread)
  • 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<Type extends TracePoint>
      Returns:
      true if the iteration has more elements
    • next

      public TracePoint next()
      Description copied from interface: java.util.Iterator
      Returns the next element in the iteration.
      Specified by:
      next in interface Iterator<Type extends TracePoint>
      Returns:
      the next element in the iteration