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

3
LINES

< > BotCompany Repo | #1024298 // or_func

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1613L/11K).

static <A> A or_func(A a, IF0<A> b) {
  return a != null ? a : callF(b);
}

Author comment

Began life as a copy of #1001741

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024298
Snippet name: or_func
Eternal ID of this version: #1024298/1
Text MD5: 2d5e25609c0596c50595a939912122e4
Transpilation MD5: ef9906ea2042509449acd1e84385669e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-30 15:22:00
Source code size: 76 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 224
Referenced in: [show references]