Class TableSorter.IndexElement
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.sorting.TableSorter.IndexElement
-
- All Implemented Interfaces:
Comparable<TableSorter.IndexElement>
- Enclosing class:
- TableSorter
protected class TableSorter.IndexElement extends Object implements Comparable<TableSorter.IndexElement>
Used to cheat Java's sort method to sort an int-array with a custom handler.
-
-
Constructor Summary
Constructors Constructor Description IndexElement(int sourceRow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TableSorter.IndexElement o)
protected Object[]
getRowData()
int
getSourceRow()
-
-
-
Method Detail
-
getSourceRow
public int getSourceRow()
-
getRowData
protected Object[] getRowData()
-
compareTo
public int compareTo(TableSorter.IndexElement o)
- Specified by:
compareTo
in interfaceComparable<TableSorter.IndexElement>
-
-