1 | static Map mapKeyAndValueMethod(Iterable l, fS keyMethod, fS valueMethod) { |
2 | if (l == null) null; |
3 | new Map map; |
4 | for (O o : l) |
5 | map.put(callOpt(o, keyMethod), callOpt(o, valueMethod)); |
6 | ret map; |
7 | } |
Began life as a copy of #1006772
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021737 |
Snippet name: | mapKeyAndValueMethod |
Eternal ID of this version: | #1021737/1 |
Text MD5: | c1c0fc22b67b011707f81dd159d73b49 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-25 13:19:08 |
Source code size: | 209 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 283 / 325 |
Referenced in: | [show references] |