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

5
LINES

< > BotCompany Repo | #1022007 // callRunnableWithWrapper

JavaX fragment (include)

1  
// wrapper: VF1<Runnable> or null
2  
svoid callRunnableWithWrapper(O wrapper, Runnable r) {
3  
  if (wrapper == null) callF(r);
4  
  else callF(wrapper, r);
5  
}

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: #1022007
Snippet name: callRunnableWithWrapper
Eternal ID of this version: #1022007/1
Text MD5: a0e8da5f8e1ce025f19606b02d97ddc3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-05 14:02:15
Source code size: 155 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 367
Referenced in: [show references]