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

15
LINES

< > BotCompany Repo | #1016285 // wrapAsActivity (alternative version that actually does something)

JavaX fragment (include)

sclass wrapAsActivity_R implements Runnable {
  O r;
  
  *() {}
  *(O *r) {}
  
  public void run() {
    temp tempActivity(r);
    callF(r);
  }
}

static wrapAsActivity_R wrapAsActivity(fO r) {
  ret r instanceof wrapAsActivity_R ? r/wrapAsActivity_R : wrapAsActivity_R(r);
}

Author comment

Began life as a copy of #1014793

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1016285
Snippet name: wrapAsActivity (alternative version that actually does something)
Eternal ID of this version: #1016285/1
Text MD5: 219465a3ea7018548a33f16646a5e561
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-13 04:14:40
Source code size: 292 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 350 / 396
Referenced in: