Libraryless. Click here for Pure Java version (2494L/16K).
1 | static long[] toLongArray(Cl<Long> l) { |
2 | long[] a = new[l(l)]; |
3 | int i = 0; |
4 | if (a.length != 0) for (long x : l) |
5 | a[i++] = x; |
6 | ret a; |
7 | } |
Began life as a copy of #1004992
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029426 |
Snippet name: | toLongArray |
Eternal ID of this version: | #1029426/1 |
Text MD5: | d6af5e3c0555039aa457e7c86382c8cc |
Transpilation MD5: | 1fbb8bf2069add99431950e6699d7579 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-05 22:06:21 |
Source code size: | 147 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 249 / 364 |
Referenced in: | [show references] |