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

3
LINES

< > BotCompany Repo | #1021147 // replaceNullsWith

JavaX fragment (include)

static <A> L<A> replaceNullsWith(final A a, L<A> l) {
  ret map(l, func(A x) -> A { or(x, a) });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021147
Snippet name: replaceNullsWith
Eternal ID of this version: #1021147/1
Text MD5: d1aad8572ec2a492a69ea3500876ef20
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-23 23:43:31
Source code size: 100 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 292
Referenced in: [show references]