Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1034778 // tempOnChangeAndNow

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5879L/32K).

static AutoCloseable tempOnChangeAndNow(IHasChangeListeners src, Runnable listener) {
  if (src == null || listener == null) null;
  src.onChangeAndNow(listener);
  ret -> src.removeChangeListener(listener);
}

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: 138 / 199
Referenced in: [show references]