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

11
LINES

< > BotCompany Repo | #1002050 // allToString - map(toString(), collection)

JavaX fragment (include)

1  
static L<S> allToString(Iterable c) {
2  
  new L<S> l;
3  
  for (O o : unnull(c)) l.add(str(o));
4  
  ret l;
5  
}
6  
7  
static L<S> allToString(O[] c) {
8  
  new L<S> l;
9  
  for (O o : unnull(c)) l.add(str(o));
10  
  ret l;
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, jcllbfdqhrgy, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1002050
Snippet name: allToString - map(toString(), collection)
Eternal ID of this version: #1002050/4
Text MD5: cd8d1a0e68c4a96a272829af16de2be5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-29 05:24:47
Source code size: 209 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 752 / 1086
Version history: 3 change(s)
Referenced in: [show references]