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

21
LINES

< > BotCompany Repo | #1028883 // pnlToString_rtrim

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

Libraryless. Click here for Pure Java version (3171L/19K).

1  
static <A> S pnlToString_rtrim(S prefix, Iterable<A> l) {
2  
  ret dropLast(pnlToString(prefix, l));
3  
}
4  
5  
static <A> S pnlToString_rtrim(Iterable<A> l) {
6  
  ret dropLast(pnlToString(l));
7  
}
8  
9  
static <A> S pnlToString_rtrim(A[] l) {
10  
  ret dropLast(pnlToString(l));
11  
}
12  
13  
static <A, B> S pnlToString_rtrim(Map<A, B> map) {
14  
  ret dropLast(pnlToString(map));
15  
}
16  
17  
ifclass MultiMap
18  
static <A, B> S pnlToString_rtrim(MultiMap<A, B> map) {
19  
  ret dropLast(pnlToString(map));
20  
}
21  
endif

Author comment

Began life as a copy of #1020445

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: #1028883
Snippet name: pnlToString_rtrim
Eternal ID of this version: #1028883/1
Text MD5: 92660bd6e1882da395cd04affa8c7ea7
Transpilation MD5: fcc8be5a7cad88ebfb1adcca7a6ce3ec
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-10 19:24:55
Source code size: 481 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 204 / 293
Referenced in: [show references]