public class CompareTablesQuery.ComparisonResultTree extends CompareTablesQuery.TableComparisonResult implements IResultTree
EMPTY
Constructor and Description |
---|
ComparisonResultTree(List<org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.ComparedRow> rows,
Column key,
List<CompareTablesQuery.ComparedColumn> comparedColumns,
CompareTablesQuery.Mode mode,
CompareTablesQuery.Operation setOp) |
Modifier and Type | Method and Description |
---|---|
List<?> |
getChildren(Object parent)
Returns the child elements of the given parent.
|
List<?> |
getElements()
Returns the root elements of the tree.
|
boolean |
hasChildren(Object element)
Returns whether the given element has children.
|
getColumns, getColumnValue, getComparedColumns, getContext, getIcon, getMode, getOperation, getResultMetaData, setComparedColumns, setMode, setOperation, updateColumns
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumns, getColumnValue, getContext
getResultMetaData
public ComparisonResultTree(List<org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.ComparedRow> rows, Column key, List<CompareTablesQuery.ComparedColumn> comparedColumns, CompareTablesQuery.Mode mode, CompareTablesQuery.Operation setOp)
public List<?> getElements()
IResultTree
getElements
in interface IResultTree
IResultTree.getChildren(Object)
or
IStructuredResult.getContext(Object)
or
IStructuredResult.getColumnValue(Object, int)
.public boolean hasChildren(Object element)
IResultTree
hasChildren
in interface IResultTree
element
- the opaque object used to indicate which branchpublic List<?> getChildren(Object parent)
IResultTree
getChildren
in interface IResultTree
parent
- The row object as returned by the
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.