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

3
LINES

< > BotCompany Repo | #1003336 // listPlus - list plus more elements

JavaX fragment (include)

static <A> L<A> listPlus(Collection<A> l, A... more) {
  ret concatLists(l, asList(more));
}

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: #1003336
Snippet name: listPlus - list plus more elements
Eternal ID of this version: #1003336/2
Text MD5: 7541725a62c50db2f0a174beb77f6629
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-17 22:26:03
Source code size: 94 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 524 / 613
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017298 - listPlusList
#1018058 - setPlus - set plus more elements
#1018061 - listPlus_inFront - list plus more elements, added in front
#1022255 - listPlusNempties - list plus more strings (if they are not empty)
#1026660 - listPlusItem - list plus one element
#1030441 - syncListPlus - list plus more elements, sync on list
#1030606 - listPlusUnique - list plus more elements, uniquify
#1031554 - listPlusItems_inPlace - add elements to list, return list