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)

1  
sclass wrapAsActivity_R implements Runnable {
2  
  O r;
3  
  
4  
  *() {}
5  
  *(O *r) {}
6  
  
7  
  public void run() {
8  
    temp tempActivity(r);
9  
    callF(r);
10  
  }
11  
}
12  
13  
static wrapAsActivity_R wrapAsActivity(fO r) {
14  
  ret r instanceof wrapAsActivity_R ? r/wrapAsActivity_R : wrapAsActivity_R(r);
15  
}

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: 281 / 324
Referenced in: [show references]