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

10
LINES

< > BotCompany Repo | #1004237 // callAll - call a list of runnables/functions, return values. should use callFAll instead

JavaX fragment (include)

1  
static L callAll(L l) {
2  
  L out = emptyList(l);
3  
  for (O o : unnull(l)) {
4  
    out.add(call(o));
5  
    ifdef callAll_verbose
6  
    print("l(out)=" + l(out));
7  
    endifdef
8  
  }
9  
  ret out;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004237
Snippet name: callAll - call a list of runnables/functions, return values. should use callFAll instead
Eternal ID of this version: #1004237/7
Text MD5: db6c386d591a8cbd05d302f5715abaf9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-02 12:35:26
Source code size: 191 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 564 / 570
Version history: 6 change(s)
Referenced in: [show references]