Libraryless. Click here for Pure Java version (5607L/31K).
interface IHasChangeListeners { selfType onChange(Runnable r); selfType removeChangeListener(Runnable r); default selfType onChangeAndNow(Runnable l) { onChange(l); callF(l); this; } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034145 |
| Snippet name: | IHasChangeListeners |
| Eternal ID of this version: | #1034145/6 |
| Text MD5: | 566964baeec1e0290da9d18fd1aa6b68 |
| Transpilation MD5: | e3e162a04e6c1c6b9c59afa545e5e281 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-07 21:06:29 |
| Source code size: | 216 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 552 / 851 |
| Version history: | 5 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) #1034219 - HasChangeListeners - implementation of IHasChangeListeners |