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

11
LINES

< > BotCompany Repo | #1024086 // map_multi_asMaps - call multiple functions on a list. rows are maps with function as key

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

Libraryless. Click here for Pure Java version (1705L/11K).

// functions: L<F1>
static L<Map> map_multi_asMaps(Collection functions, Iterable c) {
  new L<Map> out;
  fOr (O a : c) {
    new Map row;
    fOr (O f : functions)
      row.put(f, callF(f, a));
    out.add(row);
  }
  ret out;
}

Author comment

Began life as a copy of #1024084

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024086
Snippet name: map_multi_asMaps - call multiple functions on a list. rows are maps with function as key
Eternal ID of this version: #1024086/1
Text MD5: f71e9f8074d09bca2016d9e5d04f25f7
Transpilation MD5: 1e25fa648e4f502a5a15b8c5b6e1690b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-20 14:57:40
Source code size: 241 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 265
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)