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

7
LINES

< > BotCompany Repo | #1003080 // newSubList - return a sublist as new ArrayList

JavaX fragment (include)

static <A> L<A> newSubList(L<A> l, int startIndex, int endIndex) {
  ret cloneList(subList(l, startIndex, endIndex));
}

static <A> L<A> newSubList(L<A> l, int startIndex) {
  ret cloneList(subList(l, startIndex));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003080
Snippet name: newSubList - return a sublist as new ArrayList
Eternal ID of this version: #1003080/1
Text MD5: 57fac05f29df6287e151c051f1f4bbaa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-30 16:46:07
Source code size: 222 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 657 / 1766
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008164 - cloneSubList - synonym of newSubList - return a sublist as new ArrayList