Libraryless. Click here for Pure Java version (2970L/18K).
1 | static MultiSet<Long> orderOfMagnitudeMultiSet(Iterable<Int> l) {
|
2 | new MultiSet<Long> ms; |
3 | fOr (int i : l) |
4 | ms.add(roundUpToPowerOfTen(i)); |
5 | ret ms; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029288 |
| Snippet name: | orderOfMagnitudeMultiSet |
| Eternal ID of this version: | #1029288/1 |
| Text MD5: | 09616528e7b13d569ef9484da250dcb2 |
| Transpilation MD5: | d12ed38704f24f0d7fd28d87c5b45f9c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-29 23:06:58 |
| Source code size: | 161 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 373 / 498 |
| Referenced in: | [show references] |