Libraryless. Click here for Pure Java version (9979L/55K).
static Runnable changeReceiverToRunnable(O o) { if (o cast Updateable) ret new UpdateTrigger(o); if (o cast ChangeTriggerable) ret new ChangeTrigger(o); ret (Runnable) o; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036481 |
Snippet name: | changeReceiverToRunnable |
Eternal ID of this version: | #1036481/1 |
Text MD5: | 9f25b93303d4bd5198f562373dcf2df8 |
Transpilation MD5: | 240db8d337a14edcf5778fb03850f3d6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-12-17 20:22:46 |
Source code size: | 182 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 144 / 203 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |