static <B> Map<S, B> pairsToCIMap(Collection<? extends Pair<S, B>> l) { Map<S, B> map = ciMap(); if (l != null) for (Pair<S, B> p : l) map.put(p.a, p.b); ret map; }
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: | 227 / 268 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |