1 | static O[] cloneObjectArray(O[] a) {
|
2 | if (a == null) null; |
3 | O[] b = new O[a.length]; |
4 | System.arraycopy(a, 0, b, 0, a.length); |
5 | ret b; |
6 | } |
Began life as a copy of #1003162
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010051 |
| Snippet name: | cloneObjectArray |
| Eternal ID of this version: | #1010051/1 |
| Text MD5: | 55483bbbb8ecad3fd3ed0dad7bda8342 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-01 18:34:38 |
| Source code size: | 144 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 704 / 750 |
| Referenced in: | [show references] |