Libraryless. Click here for Pure Java version (3306L/18K).
1 | static <A> void setVar(IVar<A> v, A value) { |
2 | if (v != null) v.set(value); |
3 | } |
4 | |
5 | static <A> IVF1<A> setVar(IVar<A> v) { |
6 | ret a -> { if (v != null) v.set(a); }; |
7 | } |
Began life as a copy of #1015299
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016371 |
Snippet name: | setVar |
Eternal ID of this version: | #1016371/4 |
Text MD5: | a3c6ec9e71ff8102a11e7ffe82905aee |
Transpilation MD5: | 84683ac2744f8af36d566c56214e4360 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 12:57:01 |
Source code size: | 166 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 435 / 514 |
Version history: | 3 change(s) |
Referenced in: | [show references] |