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 | } |
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: | 655 / 711 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |