static AutoCloseable tempOnChange(IHasChangeListeners src, Runnable listener) { if (src == null || listener == null) null; src.onChange(listener); ret -> src.removeChangeListener(listener); }
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: | 156 / 175 |
Referenced in: | [show references] |