| java.lang.Object tcl.lang.QSort
QSort | final class QSort (Code) | | Sorts an array of TclObjects.
|
Method Summary | |
final void | sort(Interp interp, TclObject a, int mode, int index, boolean increasing, String cmd) Starts the quick sort with the given parameters.
Parameters: interp - if cmd is specified, it is evaluated inside thisinterp. Parameters: a - the array of TclObject's to sort. Parameters: mode - the sortng mode. Parameters: increasing - true if the sorted array should be in increasingorder. Parameters: cmd - the command to use for comparing items. |
ASCII | final static int ASCII(Code) | | |
COMMAND | final static int COMMAND(Code) | | |
DICTIONARY | final static int DICTIONARY(Code) | | |
INTEGER | final static int INTEGER(Code) | | |
REAL | final static int REAL(Code) | | |
sort | final void sort(Interp interp, TclObject a, int mode, int index, boolean increasing, String cmd) throws TclException(Code) | | Starts the quick sort with the given parameters.
Parameters: interp - if cmd is specified, it is evaluated inside thisinterp. Parameters: a - the array of TclObject's to sort. Parameters: mode - the sortng mode. Parameters: increasing - true if the sorted array should be in increasingorder. Parameters: cmd - the command to use for comparing items. It is used onlyif sortMode is COMMAND. exception: TclException - if an error occurs during sorting. |
|
|