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

5
LINES

< > BotCompany Repo | #1005475 // listCollector - collect into a list or other collection

JavaX fragment (include)

// collects into l
// 1 billion entries are enough for everyone
static <A> Collector<A> listCollector(final Collection<A> l) {
  ret limitedListCollector(l, 1024*1024*1024);
}

Author comment

Began life as a copy of #1005183

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005475
Snippet name: listCollector - collect into a list or other collection
Eternal ID of this version: #1005475/2
Text MD5: 74014b226c581e0bdb281a296a4d2fd1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-20 04:28:37
Source code size: 179 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 477 / 500
Version history: 1 change(s)
Referenced in: [show references]