static <A> A[] retypeArray(O[] array, Class<A> c) { A[] a = makeArray(c, l(array)); System.arraycopy(array, 0, a, 0, l(array)); ret a; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004928 |
| Snippet name: | retypeArray - copy array to a certain type |
| Eternal ID of this version: | #1004928/1 |
| Text MD5: | fd696d79c41a3e682c28e2834fc764f6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-09-16 22:52:32 |
| Source code size: | 146 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 656 / 683 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |