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

4
LINES

< > BotCompany Repo | #1003403 - pcallFunction - safely call a Runnable, function object or function name

JavaX fragment (include)

static O pcallFunction(O f, O... args) {
  pcall { ret callFunction(f, args); }
  null;
}

Author comment

Began life as a copy of #1003313

download  show line numbers  debug dex   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jcllbfdqhrgy, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, podlckwnjdmb, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, whxojlpjdney, yanjaxplzisb

No comments. add comment

Snippet ID: #1003403
Snippet name: pcallFunction - safely call a Runnable, function object or function name
Eternal ID of this version: #1003403/1
Text MD5: 660bcb303f01de30d3aa92a2854aad85
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-30 21:39:52
Source code size: 92 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 381 / 1368
Referenced in: [show references]

Formerly at http://tinybrain.de/1003403 & http://1003403.tinybrain.de