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)

1  
static O[] ioMakeArray(O in, O out) {
2  
  if (isString(in) && isString(out))
3  
    ret new S[] {(S) in, (S) out};
4  
  else
5  
    ret new O[] {in, out};
6  
}

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: 502 / 481
Referenced in: [show references]