Libraryless. Click here for Pure Java version (2501L/16K).
static <A> bool syncAdd(Collection<A> c, A b) { if (c == null) false; synchronized(collectionMutex(c)) { ret c.add(b); } } static <A> void syncAdd(L<A> l, int idx, A b) { if (l != null) synchronized(collectionMutex(l)) { l.add(idx, b); } }
Began life as a copy of #1016969
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment