1 | static <A> L<A> addDyn_sync(L<A> l, A a) { |
2 | if (l == null) l = synchroList(); |
3 | l.add(a); |
4 | ret l; |
5 | } |
Began life as a copy of #1007606
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023121 |
Snippet name: | addDyn_sync - add to list and create list if necessary, use synchroList |
Eternal ID of this version: | #1023121/1 |
Text MD5: | e92f99788241c95a50e6f59ccc24b6e2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-11 14:53:03 |
Source code size: | 105 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 335 / 380 |
Referenced in: | [show references] |