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

3
LINES

< > BotCompany Repo | #1009482 // clusters_merge - helper function for clusters_add

JavaX fragment (include)

static <A> void clusters_merge(Map<A, L<A>> clusters, L<A> a, L<A> b) {
  for (A x : b) { a.add(x); clusters.put(x, a); }
}

Author comment

Began life as a copy of #1009481

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009482
Snippet name: clusters_merge - helper function for clusters_add
Eternal ID of this version: #1009482/4
Text MD5: 03c676797ea5d4287ea266526f4c1a2a
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-07 16:52:31
Source code size: 125 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 394 / 417
Version history: 3 change(s)
Referenced in: [show references]