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

6
LINES

< > BotCompany Repo | #1029288 // orderOfMagnitudeMultiSet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2970L/18K).

static MultiSet<Long> orderOfMagnitudeMultiSet(Iterable<Int> l) {
  new MultiSet<Long> ms;
  fOr (int i : l)
    ms.add(roundUpToPowerOfTen(i));
  ret ms;
}

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: 177 / 249
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)