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

11
LINES

< > BotCompany Repo | #1007687 // callF_uncached - old version of callF

JavaX fragment (include)

static O callF_uncached(O f, O... args) {
  if (f == null) ret null;
  if (f instanceof Runnable) {
    ((Runnable) f).run();
    ret null;
  } else if (f instanceof S)
    ret call(mc(), (S) f, args);
  else
    ret call(f, "get", args);
  //else throw fail("Can't call a " + getClassName(f));
}

Author comment

Began life as a copy of #1003483

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: #1007687
Snippet name: callF_uncached - old version of callF
Eternal ID of this version: #1007687/1
Text MD5: ac7d80a0d063d10ef11ce3456dd3764f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-02 13:50:19
Source code size: 306 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 553 / 540
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)