1 | static MultiSet<Int> intArrayAsTreeMultiSet(int[] a) { |
2 | if (a == null) null; |
3 | MultiSet<Int> ms = treeMultiSet(); |
4 | for (int i : a) |
5 | ms.add(i); |
6 | ret ms; |
7 | } |
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: | 234 / 277 |
Referenced in: | [show references] |