Libraryless. Click here for Pure Java version (2130L/14K).
static int[] toIntArray(Cl<Int> l) { int[] a = new int[l(l)]; int i = 0; if (a.length != 0) for (int x : l) a[i++] = x; ret a; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1004992 |
Snippet name: | toIntArray |
Eternal ID of this version: | #1004992/2 |
Text MD5: | 83f36133c0d925c121a20ff74caee7df |
Transpilation MD5: | d5e51f09e80f7e482bc908b2ae083261 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-01 18:18:23 |
Source code size: | 146 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 655 / 720 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024602 - toFloatArray #1026917 - toDoubleArray #1029426 - toLongArray #1033123 - matrixToIntArray |