Libraryless. Click here for Pure Java version (2591L/16K).
1 | static <A, B, C> DoubleKeyedMap<A, B, C> pairKeyMapToDoubleKeyedMap(Map<Pair<A, B>, C> map) { |
2 | new DoubleKeyedMap<A, B, C> out; |
3 | fOr (Pair<A, B> p, C c : map) |
4 | out.put(p, c); |
5 | ret out; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027834 |
Snippet name: | pairKeyMapToDoubleKeyedMap |
Eternal ID of this version: | #1027834/1 |
Text MD5: | 0d2f360036b4e5c7e01330d744560bec |
Transpilation MD5: | 169364c8fc6c646cd8f61f2579ed5c1c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-14 02:00:14 |
Source code size: | 197 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 215 / 339 |
Referenced in: | [show references] |