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

3
LINES

< > BotCompany Repo | #1031764 // shortenedToStringWithClass

JavaX fragment (include)

sS shortenedToStringWithClass(O o) {
  ret o == null ? null : className(o) + " - " + shorten(str(o));
}

Author comment

Began life as a copy of #1017494

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031764
Snippet name: shortenedToStringWithClass
Eternal ID of this version: #1031764/1
Text MD5: 3e7a57c1688ff51b575b4f1af8fcaa6e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-29 08:49:13
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 132 / 162
Referenced in: [show references]