1 | static <B> Map<S, B> pairsToCIMap(Collection<? extends Pair<S, B>> l) { |
2 | Map<S, B> map = ciMap(); |
3 | if (l != null) for (Pair<S, B> p : l) |
4 | map.put(p.a, p.b); |
5 | ret map; |
6 | } |
Began life as a copy of #1009583
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: | #1024756 |
Snippet name: | pairsToCIMap - make ciMap from collection of pairs |
Eternal ID of this version: | #1024756/1 |
Text MD5: | 8cd6db2b2db4a44a031918d45d02098e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-24 17:06:39 |
Source code size: | 179 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 267 |
Referenced in: | [show references] |