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

6
LINES

< > BotCompany Repo | #1003030 // ioMakeArray - make 2 element array of in/out example

JavaX fragment (include)

static O[] ioMakeArray(O in, O out) {
  if (isString(in) && isString(out))
    ret new S[] {(S) in, (S) out};
  else
    ret new O[] {in, out};
}

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: #1003030
Snippet name: ioMakeArray - make 2 element array of in/out example
Eternal ID of this version: #1003030/1
Text MD5: 0d061d7a90f1982cd4a8be7be8c24666
Author: stefan
Category: javax / nl
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-21 17:03:21
Source code size: 150 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 473
Referenced in: [show references]