Warning: session_start(): open(/var/lib/php/sessions/sess_glg5n5egs66ha2t67tiq2uuc5p, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
shortenedToStringWithClass [1031764]

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