static int[] intRangeEnds(L<IntRange> l) { int n = l(l); int[] a = new int[n]; for i to n: a[i] = l.get(i).end; ret a; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010186 |
Snippet name: | intRangeEnds |
Eternal ID of this version: | #1010186/1 |
Text MD5: | 86e8e1fc56797b4de07b000e17331839 |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-06 00:32:43 |
Source code size: | 133 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 599 / 627 |
Referenced in: | [show references] |