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)

1  
static <A> L<A> concatLists_syncIndividual(Iterable<A>... lists) {
2  
  new L<A> l;
3  
  if (lists != null) for (Iterable<A> list : lists)
4  
    syncAddAll(l, list);
5  
  return l;
6  
}
7  
8  
static <A> L<A> concatLists_syncIndividual(Collection<? extends Iterable<A>> lists) {
9  
  new L<A> l;
10  
  if (lists != null) for (Iterable<A> list : lists)
11  
    syncAddAll(l, list);
12  
  return l;
13  
}

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: 180 / 207
Referenced in: [show references]