Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1030442 // concatLists_syncIndividual - sync on each list being appended

JavaX fragment (include)

static <A> L<A> concatLists_syncIndividual(Iterable<A>... lists) {
  new L<A> l;
  if (lists != null) for (Iterable<A> list : lists)
    syncAddAll(l, list);
  return l;
}

static <A> L<A> concatLists_syncIndividual(Collection<? extends Iterable<A>> lists) {
  new L<A> l;
  if (lists != null) for (Iterable<A> list : lists)
    syncAddAll(l, list);
  return l;
}

Author comment

Began life as a copy of #1001241

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030442
Snippet name: concatLists_syncIndividual - sync on each list being appended
Eternal ID of this version: #1030442/1
Text MD5: a1fabd1315245ad0f860518d56659f72
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-17 18:45:42
Source code size: 377 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 181 / 208
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)