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).

static <A> S pnlToString_rtrim(S prefix, Iterable<A> l) {
  ret dropLast(pnlToString(prefix, l));
}

static <A> S pnlToString_rtrim(Iterable<A> l) {
  ret dropLast(pnlToString(l));
}

static <A> S pnlToString_rtrim(A[] l) {
  ret dropLast(pnlToString(l));
}

static <A, B> S pnlToString_rtrim(Map<A, B> map) {
  ret dropLast(pnlToString(map));
}

ifclass MultiMap
static <A, B> S pnlToString_rtrim(MultiMap<A, B> map) {
  ret dropLast(pnlToString(map));
}
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: 202 / 289
Referenced in: [show references]