Class MultiplePath2GCRootsQuery.Tree
java.lang.Object
org.eclipse.mat.internal.snapshot.inspections.MultiplePath2GCRootsQuery.Tree
- All Implemented Interfaces:
IResult
,IResultTree
,IStructuredResult
- Enclosing class:
- MultiplePath2GCRootsQuery
-
Method Summary
Modifier and TypeMethodDescriptionList<?>
getChildren
(Object parent) Returns the child elements of the given parent.List<?>
Returns the root elements of the tree.abstract MultiplePath2GCRootsQuery.Grouping
(Optionally) Return meta data of the result needed to fine-tune the display of the result.boolean
hasChildren
(Object element) Returns whether the given element has children.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.mat.query.IStructuredResult
getColumns, getColumnValue, getContext
-
Method Details
-
getResultMetaData
Description copied from interface:IResult
(Optionally) Return meta data of the result needed to fine-tune the display of the result. This could include an additional context, an additional query to run on selected data from the result , additional calculated columns, or an indication that the results are already presorted.- Specified by:
getResultMetaData
in interfaceIResult
- Returns:
- the metadata for the result, used to obtain extra data
-
getElements
Description copied from interface:IResultTree
Returns the root elements of the tree.- Specified by:
getElements
in interfaceIResultTree
- Returns:
- a list of all the root elements of the tree
as opaque row objects representing each row
which can be passed to
IResultTree.getChildren(Object)
orIStructuredResult.getContext(Object)
orIStructuredResult.getColumnValue(Object, int)
.
-
hasChildren
Description copied from interface:IResultTree
Returns whether the given element has children.- Specified by:
hasChildren
in interfaceIResultTree
- Parameters:
element
- the opaque object used to indicate which branch- Returns:
- true if this element has children
-
getChildren
Description copied from interface:IResultTree
Returns the child elements of the given parent.- Specified by:
getChildren
in interfaceIResultTree
- Parameters:
parent
- The row object as returned by theIResultTree.getElements()
orIResultTree.getChildren(Object)
methods.- Returns:
- a list of children of this branch of the tree
-
getGroupedBy
-
groupBy
-