1 | static void cancelTimerOrInterruptThread(O timer) { |
2 | if (timer instanceof Thread && !timer instanceof AutoCloseable) // AutoCloseable takes precedence |
3 | interruptThread((Thread) timer); |
4 | else |
5 | cancelTimer(timer); |
6 | } |
Began life as a copy of #1016552
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: | #1016569 |
Snippet name: | cancelTimerOrInterruptThread |
Eternal ID of this version: | #1016569/3 |
Text MD5: | b84f79fc27c51338f333984ee861fd7d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-28 14:42:31 |
Source code size: | 226 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 377 / 421 |
Version history: | 2 change(s) |
Referenced in: | [show references] |