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


< > BotCompany Repo | #1006256 - joinMap - map, then join strings

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

Libraryless. Click here for Pure Java version (2195L/14K).

// f must return a string
static S joinMap(O f, Iterable l) {
  ret join(map(f, l));

static S joinMap(Iterable l, O f) {
  ret joinMap(f, l);

static <A> S joinMap(Iterable<A> l, IF1<A, S> f) {
  ret joinMap(f, l);

Author comment

Began life as a copy of #1005492

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, sawdedvomwva, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1006256
Snippet name: joinMap - map, then join strings
Eternal ID of this version: #1006256/4
Text MD5: 330a8e6ed959ac196cd4136d7ee55862
Transpilation MD5: 22024556ee2f573dc43904ead84f6172
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-11 13:55:02
Source code size: 232 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 309 / 310
Version history: 3 change(s)
Referenced in: [show references]

Formerly at &