Libraryless. Click here for Pure Java version (6372L/36K).
static <A> IVarWithNotify<A> getterVarOnly(IVarWithNotify<A> var) { if (var == null) null; var var2 = new VirtualVar(-> var!, null); addWeakChangeListener(var, var2); ret var2; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034480 |
Snippet name: | getterVarOnly |
Eternal ID of this version: | #1034480/1 |
Text MD5: | 92214589fe9d56bb18664cd4257e492f |
Transpilation MD5: | 0997edb9e982f6b0cd9229defe0f5ad9 |
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:55:56 |
Source code size: | 191 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 153 / 225 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |