Modifier and Type | Class and Description |
---|---|
static class |
TableRowAbstract.Sorter |
Modifier and Type | Field and Description |
---|---|
protected int |
tieBreakerCol |
protected int[] |
tryNext |
Constructor and Description |
---|
TableRowAbstract() |
Modifier and Type | Method and Description |
---|---|
int |
compare(TableRow other,
int col) |
protected int |
compareBoolean(TableRow other,
int col,
boolean b1,
boolean b2) |
protected int |
compareDate(TableRow other,
int col,
java.util.Date d1,
java.util.Date d2) |
protected int |
compareDouble(TableRow other,
int col,
double d1,
double d2) |
protected int |
compareInt(TableRow other,
int col,
int i1,
int i2) |
protected int |
compareLong(TableRow other,
int col,
long i1,
long i2) |
protected int |
compareString(TableRow other,
int col,
java.lang.String s1,
java.lang.String s2,
boolean ignoreCase) |
abstract java.lang.Object |
getUserObject() |
abstract java.lang.Object |
getValueAt(int col) |
void |
setNextSort(int[] nextSort) |
protected void |
setTryNext(int[] t) |
java.lang.String |
toString() |
public abstract java.lang.Object getValueAt(int col)
getValueAt
in interface TableRow
public abstract java.lang.Object getUserObject()
getUserObject
in interface TableRow
public void setNextSort(int[] nextSort)
setNextSort
in interface TableRow
protected void setTryNext(int[] t)
protected int compareBoolean(TableRow other, int col, boolean b1, boolean b2)
protected int compareInt(TableRow other, int col, int i1, int i2)
protected int compareLong(TableRow other, int col, long i1, long i2)
protected int compareDouble(TableRow other, int col, double d1, double d2)
protected int compareDate(TableRow other, int col, java.util.Date d1, java.util.Date d2)
protected int compareString(TableRow other, int col, java.lang.String s1, java.lang.String s2, boolean ignoreCase)
public java.lang.String toString()
toString
in class java.lang.Object