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

10
LINES

< > BotCompany Repo | #1008972 // printLines

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3157L/17K).

static <B, A extends Cl<B>> A printLines(S msg default "", A c) {
  for (O o : unnull(c))
    print(msg, o);
  ret c;
}

svoid <A> printLines(Iterable<A> l, IF1<A, S> f) {
  for (S s : mapI(l, f))
    print(s);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008972
Snippet name: printLines
Eternal ID of this version: #1008972/5
Text MD5: 8f7e025029508fd97d33a1033c7d0143
Transpilation MD5: 5ba6f8badbc80ab41850118e7b780ad0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-14 10:53:36
Source code size: 221 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 417 / 510
Version history: 4 change(s)
Referenced in: [show references]