public interface Tree extends ProfilingValue, java.lang.Iterable<Tree>
Each tree exposes the following data:
Tree
implements java.lang.Iterable
,
so you can use the enhanced for loop to iterate over children.
ProfilingValue
super class
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tree> |
children()
Returns an iterator for all child nodes.
|
int |
getChildCount()
Returns the number of child nodes.
|
int |
getPayloadCount()
Returns the number of payloads attached to this call stack.
|
java.util.Iterator<Payload> |
getPayloadIterator()
Returns an iterator for all payloads attached to this call stack.
|
getCount, getDescriptor, getLineNumber, getValue
int getChildCount()
java.util.Iterator<Tree> children()
java.util.Iterator<Payload> getPayloadIterator()
Payload
int getPayloadCount()