Libraryless. Click here for Pure Java version (6336L/35K).
// you have to trigger change events manually if you need them srecord VirtualVar<A>(IF0<A> getter, IVF1<A> setter) extends HasChangeListeners is IVarWithNotify<A> { public void set(A a) { setter?.get(a); } public A get() { ret getter?.get(); } }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034470 |
Snippet name: | VirtualVar |
Eternal ID of this version: | #1034470/8 |
Text MD5: | e9a17021846367cd06ca8b0956fdeb89 |
Transpilation MD5: | f6b0d08c1ab1fd27033a475ccc9a0295 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-08 05:41:12 |
Source code size: | 254 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 189 / 311 |
Version history: | 7 change(s) |
Referenced in: | [show references] |