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 Summary
ModifierConstructorDescriptionprotected
TracePointGlobalChronologicalIterator
(TraceFormat formatter) -
Method Summary
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
TracePointGlobalChronologicalIterator
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:java.util.Iterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIterator.next()
would return an element rather than throwing an exception.)- Specified by:
hasNext
in interfaceIterator<Type extends TracePoint>
- Returns:
true
if the iteration has more elements
-
next
Description copied from interface:java.util.Iterator
Returns the next element in the iteration.- Specified by:
next
in interfaceIterator<Type extends TracePoint>
- Returns:
- the next element in the iteration
-