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

28
LINES

< > BotCompany Repo | #1032833 // joinWith - synonym of join

JavaX fragment (include)

1  
 static <A> S joinWith(S glue, Iterable<A> strings) {
2  
  ret join(glue, strings);
3  
}
4  
5  
 static S joinWith(S glue, S... strings) {
6  
  ret join(glue, strings);
7  
}
8  
9  
10  
11  
static <A> S joinWith(Iterable<A> strings) {
12  
  ret join(strings);
13  
}
14  
15  
16  
17  
static <A> S joinWith(Iterable<A> strings, S glue) {
18  
  ret join(strings, glue);
19  
}
20  
21  
 static S joinWith(String[] strings) {
22  
  ret join(strings);
23  
}
24  
25  
26  
static S joinWith(S glue, Pair p) {
27  
  ret join(glue, p);
28  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032833
Snippet name: joinWith - synonym of join
Eternal ID of this version: #1032833/1
Text MD5: 1e112c145f9e43944c63494d7ea4a6da
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 15:22:43
Source code size: 440 bytes / 28 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 168
Referenced in: [show references]