-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
-
6
-
generic
-
solaris_8
Please make typesafe versions of array copy operations. One way to do
this would be to add the following methods to java.util.Arrays:
static <T> void arrayCopy(T[] chicken, T[] egg);
static void arrayCopy(int[] src, int[] dest);
static void arrayCopy(float[] src, float[] dest);
etc.
We should also consider adding corresponding methods to java.lang.System.
###@###.### 2003-06-23
this would be to add the following methods to java.util.Arrays:
static <T> void arrayCopy(T[] chicken, T[] egg);
static void arrayCopy(int[] src, int[] dest);
static void arrayCopy(float[] src, float[] dest);
etc.
We should also consider adding corresponding methods to java.lang.System.
###@###.### 2003-06-23
- duplicates
-
JDK-4655503 need a resize method to go with clone on all array types
-
- Resolved
-
- relates to
-
JDK-4882666 Make typesafe versions of System.arraycopy
-
- Closed
-