|
Oracle Application Server DMS API Reference 10g Release 3 (10.1.3.1.0) B28943-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.dms.table.NameSupport
oracle.dms.table.RowComparator
public class RowComparator
A RowComparator compares Rows by the values of the given column.
| Constructor Summary | |
|---|---|
RowComparator(java.lang.String name, boolean isAscending)Creates an RowComparator. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object obj1, java.lang.Object obj2)Compares two Rows for order. |
| Methods inherited from class oracle.dms.table.NameSupport |
|---|
compareTo, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public RowComparator(java.lang.String name,
boolean isAscending)
RowComparator. This RowComparator is able to order Row according to the values of the given column.
name - Column name.isAscending - true to order in the ascending order.| Method Detail |
|---|
public int compare(java.lang.Object obj1,
java.lang.Object obj2)
Rows for order. Returns a negative integer, zero, or a positive integer as the value of the column in the first Row is less than, equal to, or greater than the one in the second Row.compare in interface java.util.Comparatorobj1 - the first Row to be compared.obj2 - the second Row to be compared.Row is less than, equal to, or greater than the one in the second Row.java.lang.ClassCastException - if any of the arguments is not Row
|
Oracle Application Server DMS API Reference 10g Release 3 (10.1.3.1.0) B28943-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||