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

6
LINES

< > BotCompany Repo | #1012650 // tripleRef

JavaX fragment (include)

static <A> TripleRef<A> tripleRef(T3<A> t, int position) {
  if (position == 0) ret TripleA(t);
  if (position == 1) ret TripleB(t);
  if (position == 2) ret TripleC(t);
  fail("crazy position");
}

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: #1012650
Snippet name: tripleRef
Eternal ID of this version: #1012650/1
Text MD5: 124de8250fb43679df4384be0621e760
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-10 00:11:35
Source code size: 202 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 384 / 417
Referenced in: [show references]