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
ConstructorsConstructorDescriptionComparisonResultTable(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.intReturns 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, updateColumnsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.mat.query.IResult
getResultMetaDataMethods 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:IResultTableReturns the object of the row with the given row number.- Specified by:
getRowin 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:IResultTableReturns the number of rows in the result table.- Specified by:
getRowCountin interfaceIResultTable- Returns:
- the number of rows
-