Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ParallelSort(Double[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Char[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Int16[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Byte[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Int64[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Single[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Object[], Int32, Int32, IComparator) |
Sorts the specified range of the specified array of objects according to the order induced by the specified comparator. |
ParallelSort(Int32[], Int32, Int32) |
Sorts the specified range of the array into ascending numerical order. |
ParallelSort(Object[], Int32, Int32) |
Sorts the specified range of the specified array of objects into ascending order, according to the Comparable natural ordering of its elements. |
ParallelSort(Object[]) |
Sorts the specified array of objects into ascending order, according to the Comparable natural ordering of its elements. |
ParallelSort(Single[]) |
Sorts the specified array into ascending numerical order. |
ParallelSort(Byte[]) |
Sorts the specified array into ascending numerical order. |
ParallelSort(Char[]) |
Sorts the specified array into ascending numerical order. |
ParallelSort(Double[]) |
Sorts the specified array into ascending numerical order. |
ParallelSort(Object[], IComparator) |
Sorts the specified array of objects according to the order induced by the specified comparator. |
ParallelSort(Int32[]) |
Sorts the specified array into ascending numerical order. |
ParallelSort(Int64[]) |
Sorts the specified array into ascending numerical order. |
ParallelSort(Int16[]) |
Sorts the specified array into ascending numerical order. |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([DII)V", "", ApiSince=24)]
public static void ParallelSort(double[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([DII)V", "", ApiSince=24)>]
static member ParallelSort : double[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
The <
relation does not provide a total order on all double values: -0.0d == 0.0d
is true
and a Double.NaN
value compares neither less than, greater than, nor equal to any value, even itself. This method uses the total order imposed by the method Double#compareTo
: -0.0d
is treated as less than value 0.0d
and Double.NaN
is considered greater than any other value and all Double.NaN
values are considered equal.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(double[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([CII)V", "", ApiSince=24)]
public static void ParallelSort(char[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([CII)V", "", ApiSince=24)>]
static member ParallelSort : char[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(char[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([SII)V", "", ApiSince=24)]
public static void ParallelSort(short[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([SII)V", "", ApiSince=24)>]
static member ParallelSort : int16[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(short[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([BII)V", "", ApiSince=24)]
public static void ParallelSort(byte[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([BII)V", "", ApiSince=24)>]
static member ParallelSort : byte[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(byte[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([JII)V", "", ApiSince=24)]
public static void ParallelSort(long[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([JII)V", "", ApiSince=24)>]
static member ParallelSort : int64[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(long[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([FII)V", "", ApiSince=24)]
public static void ParallelSort(float[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([FII)V", "", ApiSince=24)>]
static member ParallelSort : single[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
The <
relation does not provide a total order on all float values: -0.0f == 0.0f
is true
and a Float.NaN
value compares neither less than, greater than, nor equal to any value, even itself. This method uses the total order imposed by the method Float#compareTo
: -0.0f
is treated as less than value 0.0f
and Float.NaN
is considered greater than any other value and all Float.NaN
values are considered equal.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(float[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the specified array of objects according to the order induced by the specified comparator.
[Android.Runtime.Register("parallelSort", "([Ljava/lang/Object;IILjava/util/Comparator;)V", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static void ParallelSort(Java.Lang.Object[] a, int fromIndex, int toIndex, Java.Util.IComparator? cmp);
[<Android.Runtime.Register("parallelSort", "([Ljava/lang/Object;IILjava/util/Comparator;)V", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member ParallelSort : Java.Lang.Object[] * int * int * Java.Util.IComparator -> unit
the array to be sorted
the index of the first element (inclusive) to be sorted
the index of the last element (exclusive) to be sorted
the comparator to determine the order of the array. A
null
value indicates that the elements'
Comparable natural ordering should be used.
Sorts the specified range of the specified array of objects according to the order induced by the specified comparator. The range to be sorted extends from index fromIndex
, inclusive, to index toIndex
, exclusive. (If fromIndex==toIndex
, the range to be sorted is empty.) All elements in the range must be mutually comparable by the specified comparator (that is, c.compare(e1, e2)
must not throw a ClassCastException
for any elements e1
and e2
in the range).
This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
Added in 1.8.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([III)V", "", ApiSince=24)]
public static void ParallelSort(int[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([III)V", "", ApiSince=24)>]
static member ParallelSort : int[] * int * int -> unit
the array to be sorted
the index of the first element, inclusive, to be sorted
the index of the last element, exclusive, to be sorted
Sorts the specified range of the array into ascending numerical order. The range to be sorted extends from the index fromIndex
, inclusive, to the index toIndex
, exclusive. If fromIndex == toIndex
, the range to be sorted is empty.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(int[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified range of the specified array of objects into ascending order, according to the Comparable natural ordering of its elements.
[Android.Runtime.Register("parallelSort", "([Ljava/lang/Comparable;II)V", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.Comparable<? super T>" })]
public static void ParallelSort(Java.Lang.Object[] a, int fromIndex, int toIndex);
[<Android.Runtime.Register("parallelSort", "([Ljava/lang/Comparable;II)V", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.Comparable<? super T>" })>]
static member ParallelSort : Java.Lang.Object[] * int * int -> unit
the array to be sorted
the index of the first element (inclusive) to be sorted
the index of the last element (exclusive) to be sorted
Sorts the specified range of the specified array of objects into ascending order, according to the Comparable natural ordering of its elements. The range to be sorted extends from index fromIndex
, inclusive, to index toIndex
, exclusive. (If fromIndex==toIndex
, the range to be sorted is empty.) All elements in this range must implement the Comparable
interface. Furthermore, all elements in this range must be mutually comparable (that is, e1.compareTo(e2)
must not throw a ClassCastException
for any elements e1
and e2
in the array).
This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(T[], int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array of objects into ascending order, according to the Comparable natural ordering of its elements.
[Android.Runtime.Register("parallelSort", "([Ljava/lang/Comparable;)V", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.Comparable<? super T>" })]
public static void ParallelSort(Java.Lang.Object[] a);
[<Android.Runtime.Register("parallelSort", "([Ljava/lang/Comparable;)V", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.Comparable<? super T>" })>]
static member ParallelSort : Java.Lang.Object[] -> unit
the array to be sorted
Sorts the specified array of objects into ascending order, according to the Comparable natural ordering of its elements. All elements in the array must implement the Comparable
interface. Furthermore, all elements in the array must be mutually comparable (that is, e1.compareTo(e2)
must not throw a ClassCastException
for any elements e1
and e2
in the array).
This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(T[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([F)V", "", ApiSince=24)]
public static void ParallelSort(float[] a);
[<Android.Runtime.Register("parallelSort", "([F)V", "", ApiSince=24)>]
static member ParallelSort : single[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
The <
relation does not provide a total order on all float values: -0.0f == 0.0f
is true
and a Float.NaN
value compares neither less than, greater than, nor equal to any value, even itself. This method uses the total order imposed by the method Float#compareTo
: -0.0f
is treated as less than value 0.0f
and Float.NaN
is considered greater than any other value and all Float.NaN
values are considered equal.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(float[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([B)V", "", ApiSince=24)]
public static void ParallelSort(byte[] a);
[<Android.Runtime.Register("parallelSort", "([B)V", "", ApiSince=24)>]
static member ParallelSort : byte[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(byte[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([C)V", "", ApiSince=24)]
public static void ParallelSort(char[] a);
[<Android.Runtime.Register("parallelSort", "([C)V", "", ApiSince=24)>]
static member ParallelSort : char[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(char[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([D)V", "", ApiSince=24)]
public static void ParallelSort(double[] a);
[<Android.Runtime.Register("parallelSort", "([D)V", "", ApiSince=24)>]
static member ParallelSort : double[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
The <
relation does not provide a total order on all double values: -0.0d == 0.0d
is true
and a Double.NaN
value compares neither less than, greater than, nor equal to any value, even itself. This method uses the total order imposed by the method Double#compareTo
: -0.0d
is treated as less than value 0.0d
and Double.NaN
is considered greater than any other value and all Double.NaN
values are considered equal.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(double[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array of objects according to the order induced by the specified comparator.
[Android.Runtime.Register("parallelSort", "([Ljava/lang/Object;Ljava/util/Comparator;)V", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static void ParallelSort(Java.Lang.Object[] a, Java.Util.IComparator? cmp);
[<Android.Runtime.Register("parallelSort", "([Ljava/lang/Object;Ljava/util/Comparator;)V", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member ParallelSort : Java.Lang.Object[] * Java.Util.IComparator -> unit
the array to be sorted
the comparator to determine the order of the array. A
null
value indicates that the elements'
Comparable natural ordering should be used.
Sorts the specified array of objects according to the order induced by the specified comparator. All elements in the array must be mutually comparable by the specified comparator (that is, c.compare(e1, e2)
must not throw a ClassCastException
for any elements e1
and e2
in the array).
This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(T[], java.util.Comparator<? super T>)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([I)V", "", ApiSince=24)]
public static void ParallelSort(int[] a);
[<Android.Runtime.Register("parallelSort", "([I)V", "", ApiSince=24)>]
static member ParallelSort : int[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(int[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([J)V", "", ApiSince=24)]
public static void ParallelSort(long[] a);
[<Android.Runtime.Register("parallelSort", "([J)V", "", ApiSince=24)>]
static member ParallelSort : int64[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(long[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sorts the specified array into ascending numerical order.
[Android.Runtime.Register("parallelSort", "([S)V", "", ApiSince=24)]
public static void ParallelSort(short[] a);
[<Android.Runtime.Register("parallelSort", "([S)V", "", ApiSince=24)>]
static member ParallelSort : int16[] -> unit
the array to be sorted
Sorts the specified array into ascending numerical order.
Added in 1.8.
Java documentation for java.util.Arrays.parallelSort(short[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in