static <A> L<A> createOrAddToSyncList(L<A> list, A a) { if (list == null) list = syncList(); list.add(a); ret list; }
Began life as a copy of #1019392
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020941 |
Snippet name: | createOrAddToSyncList |
Eternal ID of this version: | #1020941/1 |
Text MD5: | 05f6fa7e5f9fa23a5799d3788ec9c69d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-12 15:19:28 |
Source code size: | 127 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 390 / 410 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021803 - createOrAddToCISet #1021808 - listSetWithCreate |