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

7
LINES

< > BotCompany Repo | #1028086 // joinWithoutFirstAndLast

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

Libraryless. Click here for Pure Java version (2494L/16K).

1  
public static <A> S joinWithoutFirstAndLast(S glue, Iterable<A> strings) {
2  
  ret join(glue, dropFirstAndLast2(asList(strings)));
3  
}
4  
5  
public static <A> S joinWithoutFirstAndLast(Iterable<A> strings) {
6  
  ret join(dropFirstAndLast2(asList(strings)));
7  
}

Author comment

Began life as a copy of #1000810

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028086
Snippet name: joinWithoutFirstAndLast
Eternal ID of this version: #1028086/4
Text MD5: 6d43e2460b52c0d07765d23c263df550
Transpilation MD5: e0996cbdafd8dbec42a4cab098c880a1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-17 16:23:53
Source code size: 254 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 174 / 273
Version history: 3 change(s)
Referenced in: [show references]