Class TracePointGlobalChronologicalIterator<Type extends TracePoint>

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

public class TracePointGlobalChronologicalIterator<Type extends TracePoint> extends Object implements Iterator
This is a Cursor that thinks it's an Iterator really.
  • Constructor Details

    • TracePointGlobalChronologicalIterator

      protected TracePointGlobalChronologicalIterator(TraceFormat formatter)
  • 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