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

6
LINES

< > BotCompany Repo | #1032576 // collectMapValues_gen

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3890L/22K).

// returns something if l is Iterable<Map>
static L mapMethodLike collectMapValues_gen(O key, O l) {
  if (l cast Iterable)
    ret map(l, map -> rgenget(key, map));
  null;
}

Author comment

Began life as a copy of #1003047

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032576
Snippet name: collectMapValues_gen
Eternal ID of this version: #1032576/3
Text MD5: 5966f6db32eaa7bb46178a71a396cc93
Transpilation MD5: 953adbfec6466f5e984bc5d905977f2b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-23 00:39:43
Source code size: 180 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 236
Version history: 2 change(s)
Referenced in: [show references]