1 | static <A> int syncSize(Collection<A> l) { |
2 | if (l == null) ret 0; |
3 | synchronized(l) { |
4 | ret l(l); |
5 | } |
6 | } |
Began life as a copy of #1012674
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: | #1018751 |
Snippet name: | syncSize - l + sync |
Eternal ID of this version: | #1018751/4 |
Text MD5: | cd7dc905fde068d7680063786750c474 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-12 16:13:52 |
Source code size: | 111 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 378 / 398 |
Version history: | 3 change(s) |
Referenced in: | [show references] |