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

7
LINES

< > BotCompany Repo | #1021563 // joinWithVBar (and spaces)

JavaX fragment (include)

1  
sS joinWithVBar(Iterable<S> l) {
2  
  ret join(" | ", l);
3  
}
4  
5  
sS joinWithVBar(S... l) {
6  
  ret joinWithVBar(asList(l));
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021563
Snippet name: joinWithVBar (and spaces)
Eternal ID of this version: #1021563/2
Text MD5: b1bd8a42eb7e9fb044fc8b92e5f45236
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-16 16:43:19
Source code size: 122 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 331 / 369
Version history: 1 change(s)
Referenced in: [show references]