1 | static int[] cloneIntArray(int[] a) { |
2 | if (a == null) null; |
3 | int[] b = new[a.length]; |
4 | System.arraycopy(a, 0, b, 0, a.length); |
5 | ret b; |
6 | } |
Began life as a copy of #1034926
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035040 |
Snippet name: | cloneIntArray |
Eternal ID of this version: | #1035040/4 |
Text MD5: | fb149883e0f647570b356a64dbb2f38a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-25 20:59:12 |
Source code size: | 145 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 129 / 143 |
Version history: | 3 change(s) |
Referenced in: | [show references] |