Libraryless. Click here for Pure Java version (9979L/55K).
1 | static Runnable changeReceiverToRunnable(O o) { |
2 | if (o cast Updateable) ret new UpdateTrigger(o); |
3 | if (o cast ChangeTriggerable) ret new ChangeTrigger(o); |
4 | ret (Runnable) o; |
5 | } |
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: | 145 / 204 |
Referenced in: | [show references] |