Libraryless. Click here for Pure Java version (9944L/55K).
// has equals semantics so passing it to onChange() etc is idempotent srecord UpdateTrigger(Updateable target) is Runnable { run { target?.update(); } }
Began life as a copy of #1034451
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036477 |
| Snippet name: | UpdateTrigger |
| Eternal ID of this version: | #1036477/1 |
| Text MD5: | e46d81f07295791c18ff1ab8464d107b |
| Transpilation MD5: | 3fa66bb582f1a68a7f547c3c1c0513f5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-12-17 15:12:36 |
| Source code size: | 157 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 664 / 792 |
| Referenced in: | [show references] |