1 | static int[] intArrayToPrimitive(Int[] l) { |
2 | if (l == null) null; |
3 | int n = l.length; |
4 | int[] a = new[n]; |
5 | for i to n: |
6 | a[i] = l[i]; |
7 | ret a; |
8 | } |
Began life as a copy of #1029362
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: | #1029363 |
Snippet name: | intArrayToPrimitive |
Eternal ID of this version: | #1029363/1 |
Text MD5: | 5ee40a0e31c5238c8ca05c7008e1a9b4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-02 16:22:21 |
Source code size: | 155 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 177 / 200 |
Referenced in: | [show references] |