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

7
LINES

< > BotCompany Repo | #1025109 // intArrayAsTreeMultiSet

JavaX fragment (include)

static MultiSet<Int> intArrayAsTreeMultiSet(int[] a) {
  if (a == null) null;
  MultiSet<Int> ms = treeMultiSet();
  for (int i : a)
    ms.add(i);
  ret ms;
}

Author comment

Began life as a copy of #1025108

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: #1025109
Snippet name: intArrayAsTreeMultiSet
Eternal ID of this version: #1025109/1
Text MD5: 6155a4e6d56db226809d00e90ff6535c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-05 19:05:43
Source code size: 165 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 278
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)