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

9
LINES

< > BotCompany Repo | #1030994 // mapToKey - synonym of mapToKeys

JavaX fragment (include)

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



static <A, B> Map<B, A> lambdaMapLike mapToKey(IF1<A, B> f, Iterable<A> l) {
  ret mapToKeys(f, l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030994
Snippet name: mapToKey - synonym of mapToKeys
Eternal ID of this version: #1030994/2
Text MD5: ad953e65a1a980998bd01b06d4dfe711
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-19 12:39:12
Source code size: 200 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 107 / 141
Version history: 1 change(s)
Referenced in: [show references]