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

5
LINES

< > BotCompany Repo | #1014133 // mapVoidMulti - call multiple functions on a list

JavaX fragment (include)

1  
static <A> void mapVoidMulti(Collection<VF1<A>> functions, Iterable<A> c) {
2  
  for (A a : unnull(c))
3  
    for (VF1<A> f : functions)
4  
      f.get(a);
5  
}

Author comment

Began life as a copy of #1014128

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: #1014133
Snippet name: mapVoidMulti - call multiple functions on a list
Eternal ID of this version: #1014133/1
Text MD5: 8e4d924c97c1a4c75b0bc1939bff269c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-11 05:06:02
Source code size: 152 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 412 / 408
Referenced in: [show references]