1 | static bool strictSetIC(IVar<S> v, S value) { |
2 | S old = v!; |
3 | if (old == null) { v.set(value); true; } |
4 | ret eqic(old, value); |
5 | } |
Began life as a copy of #1012620
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: | #1013194 |
Snippet name: | strictSetIC - returns true if value can be put strictly (not overwriting anything) |
Eternal ID of this version: | #1013194/1 |
Text MD5: | 8cc3e55605b881e008aa76ce6c39ab36 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-27 06:55:11 |
Source code size: | 132 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 460 |
Referenced in: | [show references] |