1 | // TODO: optimize |
2 | static <A> L<A> withoutSubList(L<A> l, int i, int j) {
|
3 | if (j <= i) ret l; |
4 | ret concatLists( |
5 | subList(l, 0, i), |
6 | subList(l, j)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022231 |
| Snippet name: | withoutSubList |
| Eternal ID of this version: | #1022231/6 |
| Text MD5: | bd072fae1d5b6e067fe8ad90bff5916c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-11 13:50:56 |
| Source code size: | 162 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 458 / 492 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |