Class LongestDurationIterator
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.tree.traversal.LongestDurationIterator
-
-
Field Summary
Fields Modifier and Type Field Description private ITreeNode<IItem>
currentNode
-
Constructor Summary
Constructors Constructor Description LongestDurationIterator(ITreeNode<IItem> node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ITreeNode<IItem>
getFirstNode(ITreeNode<IItem> initNode)
private ITreeNode<IItem>
getLongestLastingChild(java.util.List<ITreeNode<IItem>> children)
boolean
hasNext()
IItem
next()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<IItem>
-
getLongestLastingChild
private ITreeNode<IItem> getLongestLastingChild(java.util.List<ITreeNode<IItem>> children)
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<IItem>
-
-