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

7
LINES

< > BotCompany Repo | #1008164 // cloneSubList - synonym of newSubList - return a sublist as new ArrayList

JavaX fragment (include)

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

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

Author comment

Began life as a copy of #1003080

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008164
Snippet name: cloneSubList - synonym of newSubList - return a sublist as new ArrayList
Eternal ID of this version: #1008164/1
Text MD5: 868e04d3054656dc0cb24a5528e08966
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-29 16:25:25
Source code size: 210 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 637 / 744
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027262 - subList_cloneIfDifferent