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

10
LINES

< > BotCompany Repo | #1015710 // doLater - install a java.util.Timer

JavaX fragment (include)

1  
static java.util.Timer doLater(long delay, final O r) {
2  
  ping();
3  
  final java.util.Timer timer = new java.util.Timer();
4  
  timer.schedule(timerTask(r, timer), delay);
5  
  ret vmBus_timerStarted(timer);
6  
}
7  
8  
static java.util.Timer doLater(double delaySeconds, final O r) {
9  
  ret doLater(toMS(delaySeconds), r);
10  
}

Author comment

Began life as a copy of #1010682

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: #1015710
Snippet name: doLater - install a java.util.Timer
Eternal ID of this version: #1015710/7
Text MD5: 0f4cf54bdb4ff1eab0bdd4b233af5a8c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-23 13:47:52
Source code size: 316 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 413 / 461
Version history: 6 change(s)
Referenced in: [show references]