static <A> L<A> replaceAddOrRemove(L<A> l, A a, A b) { if (b == null) l.remove(a); else replaceOrAdd(l, a, b); ret l; }
Began life as a copy of #1018724
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018725 |
Snippet name: | replaceAddOrRemove |
Eternal ID of this version: | #1018725/1 |
Text MD5: | 8f5f36bab2e0a67f02014f2f4a67d780 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-12 00:35:08 |
Source code size: | 126 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 313 / 337 |
Referenced in: | [show references] |