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

3
LINES

< > BotCompany Repo | #1023565 // nLines

JavaX fragment (include)

1  
sS nLines(long n) { ret n2(n, "line"); }
2  
sS nLines(Collection l) { ret nLines(l(l)); }
3  
sS nLines(S s) { ret nLines(countLines(s)); }

Author comment

Began life as a copy of #1023467

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1023565
Snippet name: nLines
Eternal ID of this version: #1023565/4
Text MD5: 83d15faae2a671deece85213bb490ab3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-25 13:10:18
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 268 / 314
Version history: 3 change(s)
Referenced in: [show references]