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

3
LINES

< > BotCompany Repo | #1030830 // runnableToIF0 - return null

JavaX fragment (include)

1  
static IF0 runnableToIF0(Runnable r) {
2  
  ret r == null ? null : () -> { r.run(); null; };
3  
}

Author comment

Began life as a copy of #1030073

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030830
Snippet name: runnableToIF0 - return null
Eternal ID of this version: #1030830/1
Text MD5: e41457bac5192efe721a4c09779b1b3d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-31 18:25:37
Source code size: 93 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 232
Referenced in: [show references]