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

4
LINES

< > BotCompany Repo | #1034451 // ChangeTrigger

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

Libraryless. Click here for Pure Java version (5182L/28K).

// has equals semantics so passing it to onChange() etc is idempotent
srecord ChangeTrigger(ChangeTriggerable target) is Runnable {
  run { target?.change(); }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034451
Snippet name: ChangeTrigger
Eternal ID of this version: #1034451/2
Text MD5: cfd515674e32d0972c3d1b5b15a561d1
Transpilation MD5: 2b54b28d038d0ea93ddfc99613dfee51
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-08 00:00:02
Source code size: 164 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 266
Version history: 1 change(s)
Referenced in: [show references]