Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1004992 // toIntArray

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2130L/14K).

1  
static int[] toIntArray(Cl<Int> l) {
2  
  int[] a = new int[l(l)];
3  
  int i = 0;
4  
  if (a.length != 0) for (int x : l)
5  
    a[i++] = x;
6  
  ret a;
7  
}

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: 654 / 719
Version history: 1 change(s)
Referenced in: [show references]