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

6
LINES

< > BotCompany Repo | #1024854 // pairsToCIMultiMap

JavaX fragment (include)

static <B> MultiMap<S, B> pairsToCIMultiMap(LPair<S, B> l) {
  MultiMap<S, B> mm = ciMultiMap();
  for (Pair<S, B> p : unnull(l))
    mm.put(p.a, p.b);
  ret mm;
}

Author comment

Began life as a copy of #1020567

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: #1024854
Snippet name: pairsToCIMultiMap
Eternal ID of this version: #1024854/1
Text MD5: 8f793c81fd4f623848e682d5e609df26
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-27 12:41:36
Source code size: 168 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 272
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)