static Map mapToValues_ciMap(Iterable<S> l, O f) { ret mapToValues_ciMap(f, l); } static Map mapLike mapToValues_ciMap(O f, Iterable<S> l) { Map map = ciMap(); if (l != null) for (S o : l) map.put(o, callF(f, o)); ret map; } static <B> Map<S, B> mapToValues_ciMap(Iterable<S> l, IF1<S, B> f) { ret mapToValues_ciMap(f, l); }
Began life as a copy of #1021879
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024406 |
Snippet name: | mapToValues_ciMap - iterate on list, keep object as key, function result as value |
Eternal ID of this version: | #1024406/4 |
Text MD5: | a7a8a85577b8f496d50eb12e5955dd51 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-01 00:40:27 |
Source code size: | 355 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 252 |
Version history: | 3 change(s) |
Referenced in: | [show references] |