org.eclipse.mat.query
Interface IResultTree

All Superinterfaces:
IResult, IStructuredResult
All Known Implementing Classes:
BigDropsQuery, BundleRegistryQuery.BundleTreeResult, BundleRegistryQuery.ExtensionTreeResult, BundleRegistryQuery.ServicesTreeResult, ClassReferrersQuery.InboundClasses, ClassReferrersQuery.OutboundClasses, DominatorQuery.Tree, DuplicatedClassesQuery, Histogram.ClassLoaderTree, Histogram.PackageTree, Histogram.SuperclassTree, MultiplePath2GCRootsQuery.Tree, ObjectListResult.Inbound, ObjectListResult.Outbound, Path2GCRootsQuery.Tree, RefinedTree

public interface IResultTree
extends IStructuredResult

Interface for results in tree-form.


Method Summary
 java.util.List<?> getChildren(java.lang.Object parent)
          Returns the child elements of the given parent.
 java.util.List<?> getElements()
          Returns the root elements of the tree.
 boolean hasChildren(java.lang.Object element)
          Returns whether the given element has children.
 
Methods inherited from interface org.eclipse.mat.query.IStructuredResult
getColumns, getColumnValue, getContext
 
Methods inherited from interface org.eclipse.mat.query.IResult
getResultMetaData
 

Method Detail

getElements

java.util.List<?> getElements()
Returns the root elements of the tree.


hasChildren

boolean hasChildren(java.lang.Object element)
Returns whether the given element has children.


getChildren

java.util.List<?> getChildren(java.lang.Object parent)
Returns the child elements of the given parent.