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

7
LINES

< > BotCompany Repo | #1012325 // tripleAtPosition

JavaX fragment (include)

static <A> A tripleAtPosition(T3<A> t, int i) {
  if (t == null) null;
  if (i == 0) ret t.a;
  if (i == 1) ret t.b;
  if (i == 2) ret t.c;
  null;
}

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: #1012325
Snippet name: tripleAtPosition
Eternal ID of this version: #1012325/1
Text MD5: 9e98919c2b2f83347d3e921a5ccda173
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-28 14:14:07
Source code size: 157 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 459 / 481
Referenced in: [show references]