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

7
LINES

< > BotCompany Repo | #1015257 // fromUtf8OrTokenList_generic

JavaX fragment (include)

static S fromUtf8OrTokenList_generic(O o) {
  if (o instanceof L) ret join((L<S>) o);
  if (o instanceof S) ret (S) o;
  if (o instanceof byte[]) ret fromUtf8((byte[]) o);
  if (o == null) null;
  fail(className(o));
}

Author comment

Began life as a copy of #1012977

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: #1015257
Snippet name: fromUtf8OrTokenList_generic
Eternal ID of this version: #1015257/1
Text MD5: ef1e44049e68dddde390737ab50619ce
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 03:26:52
Source code size: 224 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 427
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)