Libraryless. Click here for Pure Java version (5879L/32K).
1 | static AutoCloseable tempOnChangeAndNow(IHasChangeListeners src, Runnable listener) { |
2 | if (src == null || listener == null) null; |
3 | src.onChangeAndNow(listener); |
4 | ret -> src.removeChangeListener(listener); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034778 |
Snippet name: | tempOnChangeAndNow |
Eternal ID of this version: | #1034778/1 |
Text MD5: | 2029d2e953458ee5a1326852913873d6 |
Transpilation MD5: | b99775c7dde67ca497e0409e6bab3e2e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-08 09:14:42 |
Source code size: | 213 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 140 / 202 |
Referenced in: | [show references] |