static <A> L<A> syncReplace(L<A> l, A a, A b) { if (l == null) null; synchronized(collectionMutex(l)) { ret replace(l, a, b); } }
Began life as a copy of #1007775
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: | #1018666 |
| Snippet name: | syncReplace - replace an element in a list (modify original), sync on list |
| Eternal ID of this version: | #1018666/1 |
| Text MD5: | 86e8e217e6e9e74795610390938158a6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-08 12:43:32 |
| Source code size: | 144 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 532 / 577 |
| Referenced in: | [show references] |