Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1027834 // pairKeyMapToDoubleKeyedMap

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2591L/16K).

static <A, B, C> DoubleKeyedMap<A, B, C> pairKeyMapToDoubleKeyedMap(Map<Pair<A, B>, C> map) {
  new DoubleKeyedMap<A, B, C> out;
  fOr (Pair<A, B> p, C c : map)
    out.put(p, c);
  ret out;
}

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: 214 / 337
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)