Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1022231 // withoutSubList

JavaX fragment (include)

// TODO: optimize
static <A> L<A> withoutSubList(L<A> l, int i, int j) {
  if (j <= i) ret l;
  ret concatLists(
    subList(l, 0, i),
    subList(l, j));
}

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: 174 / 201
Version history: 5 change(s)
Referenced in: [show references]