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

13
LINES

< > BotCompany Repo | #1009319 - joinSubList - join(subList(...)) - TODO: optimize

JavaX fragment (include)

static S joinSubList(L<S> l, int i, int j) {
  ret join(subList(l, i, j));
}

static S joinSubList(L<S> l, int i) {
  ret join(subList(l, i));
}

ifclass IntRange
static S joinSubList(L<S> l, IntRange r) {
  ret r == null ? null : joinSubList(l, r.start, r.end);
}
endif

Author comment

Began life as a copy of #1008703

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1009319
Snippet name: joinSubList - join(subList(...)) - TODO: optimize
Eternal ID of this version: #1009319/2
Text MD5: 4a2a4816ecc4649c0a93b9c8d976ece4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-06 21:27:39
Source code size: 282 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 292
Version history: 1 change(s)
Referenced in: [show references]