1 | static <A> A[] retypeArray(O[] array, Class<A> c) { |
2 | A[] a = makeArray(c, l(array)); |
3 | System.arraycopy(array, 0, a, 0, l(array)); |
4 | ret a; |
5 | } |
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: | 438 / 458 |
Referenced in: | [show references] |