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

6
LINES

< > BotCompany Repo | #1012977 // fromUtf8_generic

JavaX fragment (include)

1  
static S fromUtf8_generic(O o) {
2  
  if (o instanceof S) ret (S) o;
3  
  if (o instanceof byte[]) ret fromUtf8((byte[]) o);
4  
  if (o == null) null;
5  
  fail(className(o));
6  
}

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: 469 / 498
Referenced in: [show references]