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

6
LINES

< > BotCompany Repo | #1010499 // c_collect - collect() for concepts

JavaX fragment (include)

1  
static L c_collect(Collection l, S field) {
2  
  new L out;
3  
  if (l != null) for (O o : l)
4  
    out.add(cget(o, field));
5  
  ret out;
6  
}

Author comment

Began life as a copy of #1010428

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: #1010499
Snippet name: c_collect - collect() for concepts
Eternal ID of this version: #1010499/6
Text MD5: 94b6c12ff382794ec541832c3eeef132
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-22 08:53:53
Source code size: 134 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 472 / 481
Version history: 5 change(s)
Referenced in: [show references]