|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.core.SystemSorter
The SortOperation takes a collection of objects and returns a sorted collection of these objects. Concrete instances of this class provide the criteria for the sorting of the objects based on the type of the objects.
| Constructor Summary | |
|---|---|
SystemSorter()
|
|
| Method Summary | |
|---|---|
abstract boolean |
compare(Object elementOne,
Object elementTwo)
Returns true is elementTwo is 'greater than' elementOne This is the 'ordering' method of the sort operation. |
Object[] |
sort(Object[] unSortedCollection)
Return a new sorted collection from this unsorted collection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemSorter()
| Method Detail |
public abstract boolean compare(Object elementOne,
Object elementTwo)
public Object[] sort(Object[] unSortedCollection)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||