java.lang.Object
|
+--stec.lang.QuickSortStringArray
public class QuickSortStringArray extends QuickSort
Used to sort array of String objects.
Methods
Method
|
Description
|
sort
|
Returns a case-sensitive sorted array of String objects using the specified
String array.
|
sortIgnoreCase
|
Returns a case-insensitive sorted array of String objects using the specified
String array.
|
sort
Returns a case-sensitive sorted array of String objects using the specified
String array.
Syntax
public String[] sort(String[] stringarray)
Parameters
stringarray
|
the String array object to sort.
|
Returns
String[]
|
the sorted string array.
|
Throws
Example
String[] sitems = qs.sort(items)
sort
Returns a case-insensitive sorted array of String objects using the specified
String array.
Syntax
public String[] sortIgnoreCase(String[] stringarray)
Parameters
stringarray
|
the String array object to sort.
|
Returns
String[]
|
the sorted string array.
|
Throws
Example
String[] sitems = qs.sort(items)
|