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

6
LINES

< > BotCompany Repo | #1018538 // multiMapFirstOfEach - first value for each key

JavaX fragment (include)

static <A, B> L<B> multiMapFirstOfEach(MultiMap<A, B> mm) {
  if (mm == null) ret emptyList();
  synchronized(mm.mutex()) {
    ret map first(values(mm.data));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018538
Snippet name: multiMapFirstOfEach - first value for each key
Eternal ID of this version: #1018538/3
Text MD5: 690634c8416fc1f52812e03e6428d25a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-03 18:09:49
Source code size: 170 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 332 / 376
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)