Class CompareTablesQuery.ComparisonResultTable
java.lang.Object
org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.TableComparisonResult
org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.ComparisonResultTable
- All Implemented Interfaces:
IIconProvider
,IResult
,IResultTable
,IStructuredResult
- Enclosing class:
- CompareTablesQuery
public class CompareTablesQuery.ComparisonResultTable
extends CompareTablesQuery.TableComparisonResult
implements IResultTable
-
Field Summary
Fields inherited from interface org.eclipse.mat.query.IIconProvider
EMPTY
-
Constructor Summary
ConstructorDescriptionComparisonResultTable
(List<org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.ComparedRow> rows, Column key, List<CompareTablesQuery.ComparedColumn> comparedColumns, CompareTablesQuery.Mode mode, CompareTablesQuery.Operation setOp) -
Method Summary
Modifier and TypeMethodDescriptiongetRow
(int rowId) Returns the object of the row with the given row number.int
Returns the number of rows in the result table.Methods inherited from class org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.TableComparisonResult
getColumns, getColumnValue, getComparedColumns, getContext, getIcon, getMode, getOperation, getResultMetaData, setComparedColumns, setMode, setOperation, updateColumns
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.mat.query.IResult
getResultMetaData
Methods inherited from interface org.eclipse.mat.query.IStructuredResult
getColumns, getColumnValue, getContext
-
Constructor Details
-
ComparisonResultTable
public ComparisonResultTable(List<org.eclipse.mat.internal.snapshot.inspections.CompareTablesQuery.ComparedRow> rows, Column key, List<CompareTablesQuery.ComparedColumn> comparedColumns, CompareTablesQuery.Mode mode, CompareTablesQuery.Operation setOp)
-
-
Method Details
-
getRow
Description copied from interface:IResultTable
Returns the object of the row with the given row number.- Specified by:
getRow
in interfaceIResultTable
- Parameters:
rowId
- The row number.- Returns:
- an opaque row object representing this row
which can be passed to
IStructuredResult.getContext(Object)
orIStructuredResult.getColumnValue(Object, int)
.
-
getRowCount
public int getRowCount()Description copied from interface:IResultTable
Returns the number of rows in the result table.- Specified by:
getRowCount
in interfaceIResultTable
- Returns:
- the number of rows
-