|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.flow.transformer.SpreadSheetPlotGenerator.SortableRow
public static class SpreadSheetPlotGenerator.SortableRow
Helper class for sorting rows.
| Field Summary | |
|---|---|
protected Comparable |
m_Index
the index. |
protected boolean |
m_InvertSorting
whether to invert the sorting order. |
protected SpreadSheet.Row |
m_Row
the row. |
| Constructor Summary | |
|---|---|
SpreadSheetPlotGenerator.SortableRow(Comparable index,
SpreadSheet.Row row,
boolean invSort)
Initializes the container. |
|
| Method Summary | |
|---|---|
int |
compareTo(SpreadSheetPlotGenerator.SortableRow o)
Compares this object with the specified object for order. |
Comparable |
getIndex()
Returns the sort index. |
SpreadSheet.Row |
getRow()
Returns the row payload. |
boolean |
isInvertSorting()
Returns whether sorting is inverted. |
String |
toString()
Returns a short string representation of the container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Comparable m_Index
protected SpreadSheet.Row m_Row
protected boolean m_InvertSorting
| Constructor Detail |
|---|
public SpreadSheetPlotGenerator.SortableRow(Comparable index,
SpreadSheet.Row row,
boolean invSort)
index - the index used for sortingrow - the row payloadinvSort - whether to invert sorting| Method Detail |
|---|
public Comparable getIndex()
public SpreadSheet.Row getRow()
public boolean isInvertSorting()
public int compareTo(SpreadSheetPlotGenerator.SortableRow o)
compareTo in interface Comparable<SpreadSheetPlotGenerator.SortableRow>o - the object to be compared.
ClassCastException - if the specified object's type prevents it
from being compared to this object.isInvertSorting()public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||