sort variant and parallel sort added
This commit is contained in:
parent
2aa36360f8
commit
94f08d43af
|
@ -85,4 +85,19 @@ public class ArraySort {
|
|||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
public void arraySortVariant() {
|
||||
System.out.println(Arrays.toString(numbers));
|
||||
Arrays.sort(numbers, 3, 7);
|
||||
System.out.println(Arrays.toString(numbers));
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void arrayParallelSortVariant() {
|
||||
|
||||
Arrays.parallelSort(numbers);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue