1 | static AutoCloseable tempOnChange(IHasChangeListeners src, Runnable listener) { |
2 | if (src == null || listener == null) null; |
3 | src.onChange(listener); |
4 | ret -> src.removeChangeListener(listener); |
5 | } |
Began life as a copy of #1034778
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035515 |
Snippet name: | tempOnChange |
Eternal ID of this version: | #1035515/1 |
Text MD5: | a59ddaeb197eaab9411a96e36e710dad |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-01 23:53:46 |
Source code size: | 201 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 177 |
Referenced in: | [show references] |