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

7
LINES

< > BotCompany Repo | #1012658 // tripleGet - get part of triple

JavaX fragment (include)

static <A> A tripleGet(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: #1012658
Snippet name: tripleGet - get part of triple
Eternal ID of this version: #1012658/2
Text MD5: d3a571c60123f8f67663fa7c93e30b9e
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:45:05
Source code size: 148 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 536
Version history: 1 change(s)
Referenced in: [show references]