sort variant and parallel sort added

This commit is contained in:
maverick 2016-08-22 13:21:24 +05:30
parent 2aa36360f8
commit 94f08d43af
1 changed files with 15 additions and 0 deletions

View File

@ -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);
}
}