diff options
| author | 2016-03-17 16:24:52 +0000 | |
|---|---|---|
| committer | 2016-03-17 16:47:41 +0000 | |
| commit | d6db1c31bf942a14e3be1874abccaebf150e3da1 (patch) | |
| tree | b4e73ba633122226f77a36c0f333efce9ae3165b | |
| parent | 8b1918e5a65bdd7617f45e350fe92a58004ea628 (diff) | |
Port OpenJDK 8 java.util.Arrays#setAll methods
and add tests
Bug: 27540010
(cherry-picked from commit 8586ec5f15613d42ab55c5253c1d386fff473033)
Change-Id: I18f502caabc2f140fa503a0b03e9d6e310b4246c
| -rw-r--r-- | api/current.txt | 4 | ||||
| -rw-r--r-- | api/system-current.txt | 4 | ||||
| -rw-r--r-- | api/test-current.txt | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 649c4b6aedb5..4b327c0595d3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -57456,6 +57456,10 @@ package java.util { method public static void parallelSort(T[], int, int); method public static void parallelSort(T[], java.util.Comparator<? super T>); method public static void parallelSort(T[], int, int, java.util.Comparator<? super T>); + method public static void setAll(T[], java.util.function.IntFunction<? extends T>); + method public static void setAll(int[], java.util.function.IntUnaryOperator); + method public static void setAll(long[], java.util.function.IntToLongFunction); + method public static void setAll(double[], java.util.function.IntToDoubleFunction); method public static void sort(int[]); method public static void sort(int[], int, int); method public static void sort(long[]); diff --git a/api/system-current.txt b/api/system-current.txt index 73464d3f380e..d69239aa26b8 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -60549,6 +60549,10 @@ package java.util { method public static void parallelSort(T[], int, int); method public static void parallelSort(T[], java.util.Comparator<? super T>); method public static void parallelSort(T[], int, int, java.util.Comparator<? super T>); + method public static void setAll(T[], java.util.function.IntFunction<? extends T>); + method public static void setAll(int[], java.util.function.IntUnaryOperator); + method public static void setAll(long[], java.util.function.IntToLongFunction); + method public static void setAll(double[], java.util.function.IntToDoubleFunction); method public static void sort(int[]); method public static void sort(int[], int, int); method public static void sort(long[]); diff --git a/api/test-current.txt b/api/test-current.txt index 3f37f5fd415b..c1ebe4773e4a 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -57530,6 +57530,10 @@ package java.util { method public static void parallelSort(T[], int, int); method public static void parallelSort(T[], java.util.Comparator<? super T>); method public static void parallelSort(T[], int, int, java.util.Comparator<? super T>); + method public static void setAll(T[], java.util.function.IntFunction<? extends T>); + method public static void setAll(int[], java.util.function.IntUnaryOperator); + method public static void setAll(long[], java.util.function.IntToLongFunction); + method public static void setAll(double[], java.util.function.IntToDoubleFunction); method public static void sort(int[]); method public static void sort(int[], int, int); method public static void sort(long[]); |