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

5
LINES

< > BotCompany Repo | #1031065 // recursiveObjectSizeWithoutStrings - some people want this

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

Libraryless. Click here for Pure Java version (3907L/24K).

static long recursiveObjectSizeWithoutStrings(RecursiveObjectSize ros default new, O o) {
  ros.shouldIgnore = x -> x instanceof S;
  ros.recurse(o);
  ret ros.size;
}

Author comment

Began life as a copy of #1029150

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031065
Snippet name: recursiveObjectSizeWithoutStrings - some people want this
Eternal ID of this version: #1031065/2
Text MD5: 47c5f240651b8ac9fb95c7c6fbc46c52
Transpilation MD5: f48a6204634d968baa40fffd1e7710f3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-26 17:33:58
Source code size: 171 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 5662
Version history: 1 change(s)
Referenced in: [show references]