// map will return exception as value in case of error static Map<S, O> evaluateFunctionsAsMap(Collection<S> functions, O... args) { Class c = loadFunctions_cached(functions); new LinkedHashMap<S, O> map; for ping (S f : functions) { try { map.put(f, preciseCall(c, f, args)); } catch e { map.put(f, e); } } ret map; }
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: | #1013146 |
| Snippet name: | evaluateFunctionsAsMap - calls & makes standard functions |
| Eternal ID of this version: | #1013146/2 |
| Text MD5: | cb73c560c8df8b295054e74c8daf39d4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-26 07:05:34 |
| Source code size: | 364 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 556 / 615 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |