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

7
LINES

< > BotCompany Repo | #1032937 // or_calc function

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

Libraryless. Click here for Pure Java version (3852L/22K).

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

static <A> A lambda0Like or_calc(IF0<A> b, A a) {
  ret or_calc(a, b);
}

Author comment

Began life as a copy of #1032136

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032937
Snippet name: or_calc function
Eternal ID of this version: #1032937/1
Text MD5: 8133a79f2cfcb8e21da19ed551edd809
Transpilation MD5: 76f34987bc7e6f9c295172d0fdad1f17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 04:25:37
Source code size: 151 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 82 / 135
Referenced in: [show references]