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, updateColumnsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumns, getColumnValue, getContextgetResultMetaDatapublic 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()
IResultTreegetElements in interface IResultTreeIResultTree.getChildren(Object) or
IStructuredResult.getContext(Object) or
IStructuredResult.getColumnValue(Object, int).public boolean hasChildren(Object element)
IResultTreehasChildren in interface IResultTreeelement - the opaque object used to indicate which branchpublic List<?> getChildren(Object parent)
IResultTreegetChildren in interface IResultTreeparent - The row object as returned by the
IResultTree.getElements() or
IResultTree.getChildren(Object) methods.