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)

1  
static S joinSubList(L<S> l, int i, int j) {
2  
  ret join(subList(l, i, j));
3  
}
4  
5  
static S joinSubList(L<S> l, int i) {
6  
  ret join(subList(l, i));
7  
}
8  
9  
ifclass IntRange
10  
static S joinSubList(L<S> l, IntRange r) {
11  
  ret r == null ? null : joinSubList(l, r.start, r.end);
12  
}
13  
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: 588 / 630
Version history: 1 change(s)
Referenced in: [show references]