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)

static L<S> allToString(Iterable c) {
  new L<S> l;
  for (O o : unnull(c)) l.add(str(o));
  ret l;
}

static L<S> allToString(O[] c) {
  new L<S> l;
  for (O o : unnull(c)) l.add(str(o));
  ret l;
}

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: 831 / 1170
Version history: 3 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014729 - allToStr - synonym of allToString
#1025451 - allToString_array
#1030740 - allToStrOrNull
#3000382 - Answer for ferdie (>> t = 1, f = 0)