1 | static Runnable toRunnable(final O o) {
|
2 | if (o == null) null; |
3 | if (o instanceof Runnable) ret (Runnable) o; |
4 | ifndef callF_legacy |
5 | if (o instanceof S) fail("callF_legacy");
|
6 | endifndef |
7 | ret r { callF(o) };
|
8 | } |
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: | 971 / 1078 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |