static L syncCollect(Collection c, S field) { if (c == null) ret emptyList(); synchronized(c) { ret collectField(c, field); } } static L mapMethodLike syncCollect(S field, Collection c) { ret syncCollect(c, field); }
Began life as a copy of #1003047
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019164 |
Snippet name: | syncCollect - collect field + synchronize on list |
Eternal ID of this version: | #1019164/3 |
Text MD5: | 133551b4c0da75993059cd6122d12e22 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-06 01:56:36 |
Source code size: | 230 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 347 / 395 |
Version history: | 2 change(s) |
Referenced in: | [show references] |