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  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: #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: 687 / 741
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1023814 - joinSubList_intRange
#1032960 - joinSubList_cToC
#1035341 - shortenJoinSubList - shortenJoin + subList