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

6
LINES

< > BotCompany Repo | #1025192 // runWithExecutor

JavaX fragment (include)

svoid runWithExecutor(Runnable r, Executor e) {
  if (e == null)
    r.run();
  else
    e.execute(r);
}

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: #1025192
Snippet name: runWithExecutor
Eternal ID of this version: #1025192/1
Text MD5: d6e2862e5ae89c196cc422d17197b856
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-12 22:44:11
Source code size: 109 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 184
Referenced in: [show references]