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

3
LINES

< > BotCompany Repo | #1022060 // lazyCollect - collect field through a lazy list

JavaX fragment (include)

1  
static L mapMethodLike lazyCollect(fS field, L l) {
2  
  ret lazilyMap(func(O o) { getOpt(o, field) }, l);
3  
}

Author comment

Began life as a copy of #1003047

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1022060
Snippet name: lazyCollect - collect field through a lazy list
Eternal ID of this version: #1022060/1
Text MD5: 4a46599a975d8ee6022d6d00c0fe961e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-06 08:17:08
Source code size: 107 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 278
Referenced in: [show references]