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

5
LINES

< > BotCompany Repo | #1009604 // timerOnce - install a java.util.Timer for a single event

JavaX fragment (include)

1  
static java.util.Timer timerOnce(long delay, final O r) {
2  
  final java.util.Timer timer = new java.util.Timer(true);
3  
  timer.schedule(timerTask(r, timer), delay);
4  
  ret timer;
5  
}

Author comment

Began life as a copy of #1006482

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009604
Snippet name: timerOnce - install a java.util.Timer for a single event
Eternal ID of this version: #1009604/3
Text MD5: 6afff7a4c2a698ac626671174a5dc5c1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-11 00:10:08
Source code size: 183 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 480
Version history: 2 change(s)
Referenced in: [show references]