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

21
LINES

< > BotCompany Repo | #1023127 // mapToValues - synonym of mapKeyAndFunction

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

Libraryless. Compilation Failed (2574L/16K).

static Map mapToValues(Iterable l, O f) {
  ret mapKeyAndFunction(l, f);
}



static Map mapLike mapToValues(O f, Iterable l) {
  ret mapKeyAndFunction(f, l);
}

static <A, B> Map<A, B> mapToValues(Iterable<A> l, IF1<A, B> f) {
  ret mapKeyAndFunction(f, l);
}

static <A, B> Map<A, B> mapToValues(IF1<A, B> f, Iterable<A> l) {
  ret mapKeyAndFunction(f, l);
}

static <A, B, C> Map<A, C> mapToValues(Map<A, B> map, IF2<A, B, C> f) {
  ret mapKeyAndFunction(map, f);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023127
Snippet name: mapToValues - synonym of mapKeyAndFunction
Eternal ID of this version: #1023127/4
Text MD5: 3a50cf1db1db17f86d4aae4e7d4a2060
Transpilation MD5: a844d04ac6f2972dc9e5804d6a5af9cd
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-19 03:49:07
Source code size: 488 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 307 / 434
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)