|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.data.Sort
org.alfresco.web.data.MergeSort
public final class MergeSort
Field Summary |
---|
Fields inherited from class org.alfresco.web.data.Sort |
---|
bForward, collator, column, data, keys, sortMode |
Constructor Summary | |
---|---|
MergeSort(java.util.List data,
java.lang.String column,
boolean bForward,
java.lang.String mode)
Constructor |
Method Summary | |
---|---|
void |
sort()
Runs the Quick Sort routine on the current dataset |
Methods inherited from class org.alfresco.web.data.Sort |
---|
buildCollationKeys, getComparator, getGetterMethodName, swap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MergeSort(java.util.List data, java.lang.String column, boolean bForward, java.lang.String mode)
data
- a the List of String[] data to sortcolumn
- the column getter method to use on the row to sortbForward
- true for a forward sort, false for a reverse sortmode
- sort mode to use (see IDataContainer constants)Method Detail |
---|
public void sort()
sort
in class Sort
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |