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

7
LINES

< > BotCompany Repo | #1027403 // mechCIMapWithReverse

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

Libraryless. Click here for Pure Java version (6156L/41K).

static SS mechCIMapWithReverse(S listName) {
  LPairS l = mL_pairs(listName);
  SS map = pairsToCIMap(l);
  for (PairS p : l)
    map.put(p.b, p.a);
  ret map;
}

Author comment

Began life as a copy of #1014237

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: #1027403
Snippet name: mechCIMapWithReverse
Eternal ID of this version: #1027403/1
Text MD5: 5673405315f6b5af93391ffa963c446b
Transpilation MD5: 90760b8ad6df0ae5343803a0a3a46b5f
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-17 22:50:46
Source code size: 167 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 164 / 229
Referenced in: [show references]