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

11
LINES

< > BotCompany Repo | #1026675 // dm_optPcallAll

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

Libraryless. Click here for Pure Java version (2407L/15K).

static L mapMethodLike dm_optPcallAll(S serviceName, S method, O... args) {
  ret dm_optPcallAll(dm_getServices(serviceName), method, args);
}

// also takes service names
static L mapMethodLike dm_optPcallAll(Cl moduleIDs, S method, O... args) {
  new L out;
  for unnull (O mod : moduleIDs)
    addIfNotNull(out, dm_pcallOpt(mod, method, args));
  ret out;
}

Author comment

Began life as a copy of #1022563

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026675
Snippet name: dm_optPcallAll
Eternal ID of this version: #1026675/5
Text MD5: 53d5215f7215cf04685f1ae2fb74bb58
Transpilation MD5: a4f0dcf61df3d1cb117a1cc9384c1b5b
Author: stefan
Category: javax / vm
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-21 14:45:39
Source code size: 374 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 205
Version history: 4 change(s)
Referenced in: [show references]