-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
solaris_8
Please make typesafe versions of System.arraycopy. One way to do
this would be to add the following overloadings:
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.util.Arrays.
###@###.### 2003-06-23
this would be to add the following overloadings:
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.util.Arrays.
###@###.### 2003-06-23
- duplicates
-
JDK-4655503 need a resize method to go with clone on all array types
-
- Resolved
-
- relates to
-
JDK-4882681 (coll) Make typesafe array copy operations in java.util.Arrays
-
- Closed
-