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

3
LINES

< > BotCompany Repo | #1001741 // or function

JavaX fragment (include)

1  
static <A> A or(A a, A b) {
2  
  return a != null ? a : b;
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001741
Snippet name: or function
Eternal ID of this version: #1001741/1
Text MD5: 3f997f878f63c90b8dc5645b8b51fdd1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-13 19:55:57
Source code size: 59 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 860 / 5076
Referenced in: [show references]