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

6
LINES

< > BotCompany Repo | #1005149 // numberParagraphs

JavaX fragment (include)

static L<Para> numberParagraphs(L<S> paragraphs) { 
  new L<Para> l;
  for i over paragraphs:
    l.add(new Para(i+1, paragraphs.get(i)));
  ret l;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005149
Snippet name: numberParagraphs
Eternal ID of this version: #1005149/1
Text MD5: b765937b14ede69f6beacac68d7e89d3
Author: stefan
Category: javax / hot
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-17 00:39:24
Source code size: 156 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 505 / 522
Referenced in: [show references]