方法 |
说明 |
public static void parallelSort(byte [] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(byte [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含)到索引toIndex(不包含)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static void parallelSort(char[] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(char [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含)到索引toIndex(不包含)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static void parallelSort(double [] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(double [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含)到索引toIndex(不包含)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static void parallelSort(float [] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(float [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含端点)到索引toIndex(互斥)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static void parallelSort(int [] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(int [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含)到索引toIndex(不包含)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static void parallelSort(long [] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(long [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含)到索引toIndex(不包含)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static void parallelSort(short [] a) |
它将指定的数组按升序排列。 |
public static void parallelSort(short [] a,int fromIndex,int toIndex) |
它将数组的指定范围按升序排序。要排序的范围从索引fromIndex(含)到索引toIndex(不包含)。如果fromIndex == toIndex,则要排序的范围为空。 |
public static <T extends Comparable<? super T>> void parallelSort(T[] a) |
根据对象元素的自然顺序将指定的对象数组升序排列。数组中的所有元素必须实现Comparable接口。此外,数组中的所有元素都必须相互可比(即e1.compareTo(e2)不得对数组中的任何元素e1和e2抛出ClassCastException)。 |
public static <T> void parallelSort(T[] a,Comparator<? super T> cmp) |
它将根据指定比较器引起的顺序对指定对象数组进行排序。数组中的所有元素必须可以通过指定的比较器相互比较(即c.compare(e1,e2)不得对数组中的任何元素e1和e2抛出ClassCastException。 |
public static <T extends Comparable<? super T>> void parallelSort(T[] a,int fromIndex, int toIndex) |
根据其元素的自然顺序,将指定对象数组的指定范围按升序排序。要排序的范围从索引fromIndex(包括)到索引toIndex(不包括)。(如果fromIndex == toIndex,则要排序的范围为空。)此范围中的所有元素必须实现Comparable接口。此外,此范围内的所有元素都必须相互可比较(即e1.compareTo(e2)不得对数组中的任何元素e1和e2抛出ClassCastException)。 |
public static <T> void parallelSort(T[] a, int fromIndex, int toIndex, Comparator<? super T> cmp) |
它将根据指定比较器引起的顺序对指定对象数组的指定范围进行排序。要排序的范围从索引fromIndex(包括)到索引toIndex(不包括)。(如果fromIndex == toIndex,则要排序的范围为空。)该范围内的所有元素必须可以通过指定的比较器相互比较(即c.compare(e1,e2)不得对任何元素e1抛出ClassCastException和范围内的e2)。 |