Libraryless. Click here for Pure Java version (5607L/31K).
1 | interface IHasChangeListeners { |
2 | selfType onChange(Runnable r); |
3 | selfType removeChangeListener(Runnable r); |
4 | |
5 | default selfType onChangeAndNow(Runnable l) { |
6 | onChange(l); |
7 | callF(l); |
8 | this; |
9 | } |
10 | } |
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: | 215 / 447 |
Version history: | 5 change(s) |
Referenced in: | [show references] |