1 | static L syncCollect(Collection c, S field) { |
2 | if (c == null) ret emptyList(); |
3 | synchronized(c) { ret collectField(c, field); } |
4 | } |
5 | |
6 | static L mapMethodLike syncCollect(S field, Collection c) { |
7 | ret syncCollect(c, field); |
8 | } |
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: | 349 / 397 |
Version history: | 2 change(s) |
Referenced in: | [show references] |