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

11
LINES

< > BotCompany Repo | #1001992 // str function (=String.valueOf + extensions)

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

Transpiled version (38L) is out of date.

sS str(O o) {
  ret o == null ? "null" : o.toString();
}

sS str(char[] c) {
  ret c == null ? "null" : new String(c);
}

sS str(char[] c, int offset, int count) {
  ret new String(c, offset, count);
}

Author comment

Began life as a copy of #1001843

download  show line numbers  debug dex  old transpilations   

Travelled to 21 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, thuhawujahgc, tslmcundralx, tvejysmllsmz, vouqrxazstgt, vujiipfktnfq, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1001992
Snippet name: str function (=String.valueOf + extensions)
Eternal ID of this version: #1001992/4
Text MD5: b26e51dd08285af909749fbc67d4e023
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-08 17:55:08
Source code size: 211 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 1004 / 6712
Version history: 3 change(s)
Referenced in: [show references]