static <A> IVar<A> defaultVarTo(IVar<A> v, A value) { if (!v.has()) v.set(value); ret v; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1009548 |
| Snippet name: | defaultVarTo |
| Eternal ID of this version: | #1009548/1 |
| Text MD5: | c0ffcd92472e86e4bc66fc58c384ba74 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-07 18:12:12 |
| Source code size: | 97 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 703 / 722 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |