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

6
LINES

< > BotCompany Repo | #1012977 // fromUtf8_generic

JavaX fragment (include)

static S fromUtf8_generic(O o) {
  if (o instanceof S) ret (S) o;
  if (o instanceof byte[]) ret fromUtf8((byte[]) o);
  if (o == null) null;
  fail(className(o));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012977
Snippet name: fromUtf8_generic
Eternal ID of this version: #1012977/1
Text MD5: 8a367d59709360960029551a1fdf5d3e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-19 00:30:13
Source code size: 170 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 468 / 497
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012978 - toUtf8_generic
#1015257 - fromUtf8OrTokenList_generic