static Runnable toRunnable(final O o) { if (o == null) null; if (o instanceof Runnable) ret (Runnable) o; ifndef callF_legacy if (o instanceof S) fail("callF_legacy"); endifndef ret r { callF(o) }; }
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1005528 |
| Snippet name: | toRunnable - convert function object to Runnable |
| Eternal ID of this version: | #1005528/3 |
| Text MD5: | ddd8e92334658087894538b5d6f56219 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-13 04:06:25 |
| Source code size: | 218 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 969 / 1077 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033100 - if0ToRunnable - convert function object to Runnable |