public class IlrDefaultReportSorter extends java.lang.Object implements IlrReportSorter
IlrReportSorter used by Decision Center.
This implementation first sorts elements by their type, and then by alphabetical order. The order for the type is:
| Constructor and Description |
|---|
IlrDefaultReportSorter() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IlrReportContext reportContext,
IlrElementDetails element1,
IlrElementDetails element2)
Returns a negative, zero, or positive number depending on whether the first element is less than, equal to, or greater than the second element.
|
int |
compare(IlrReportContext reportContext,
IlrElementDetails element,
java.lang.Object property1,
java.lang.Object property2)
Returns a negative, zero, or positive number depending on whether the first property is less than, equal to, or greater than the second property.
|
public int compare(IlrReportContext reportContext, IlrElementDetails element1, IlrElementDetails element2)
IlrReportSortercompare in interface IlrReportSorterreportContext - The context in which the report is executed.element1 - The first element.element2 - The second element.public int compare(IlrReportContext reportContext, IlrElementDetails element, java.lang.Object property1, java.lang.Object property2)
IlrReportSortercompare in interface IlrReportSorterreportContext - The context in which the report is executed.element - The element from which the properties come from.property1 - The first property.property2 - The second property.© Copyright IBM Corp. 1987, 2017