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

7
LINES

< > BotCompany Repo | #1011395 // pcallFAll - synonym of pcallF_all - call multiple functions

JavaX fragment (include)

static void pcallFAll(Collection l, O... args) {
  if (l != null) for (O f : cloneList(l)) pcallF(f, args);
}

static void pcallFAll(Iterator it, O... args) {
  while (it.hasNext()) pcallF(it.next(), args);
}

Author comment

Began life as a copy of #1010837

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011395
Snippet name: pcallFAll - synonym of pcallF_all - call multiple functions
Eternal ID of this version: #1011395/4
Text MD5: fbf824cf76fe06df616cf22f0bfc20c0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-07 03:14:16
Source code size: 214 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 575
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019336 - pcallFAll_getValues
#1020794 - pcallFAll_returnFirstNotNull
#1031691 - pcallFAll_minimalExceptionHandling