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

6
LINES

< > BotCompany Repo | #1029152 // recursiveObjectSizeWithPrintingMegabytes

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

Libraryless. Click here for Pure Java version (10751L/60K).

static long recursiveObjectSizeWithPrintingMegabytes(RecursiveObjectSize ros default new, O o) {
  new MBPrinter printer;
  ros.onSizeChanged = r { printer.get(ros.size) };
  ros.recurse(o);
  ret ros.size;
}

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: #1029152
Snippet name: recursiveObjectSizeWithPrintingMegabytes
Eternal ID of this version: #1029152/3
Text MD5: a2603759dbbbcc82b272d9a95c8a6a72
Transpilation MD5: e654d1e4971e0cf947a452a3ec68ca7b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-22 01:46:11
Source code size: 213 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 232 / 343
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)