static <A> L<A> listWithoutIndex(L<A> l, int i) { int n = l(l); if (i < 0 || i >= n) ret l; L<A> out = emptyList(n-1); for j to i: out.add(l.get(j)); for (i++; i < n; i++) out.add(l.get(i)); ret out; }
Began life as a copy of #1014727
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016850 | 
| Snippet name: | listWithoutIndex | 
| Eternal ID of this version: | #1016850/1 | 
| Text MD5: | e37fff54d8c24005458038188bec56ac | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-07-05 19:38:50 | 
| Source code size: | 225 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 546 / 593 | 
| Referenced in: | [show references] |