1 | sclass JavaXRepeatTimer(double frequency) { |
2 | bool started; |
3 | |
4 | void start { |
5 | bool starting; |
6 | synchronized { |
7 | bool starting = !started; |
8 | if (!starting) ret; |
9 | set started; |
10 | } |
11 | if (starting) |
12 | startImpl(); |
13 | } |
14 | |
15 | void startImpl() { |
16 | if (enabled) |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032094 |
Snippet name: | JavaXRepeatTimer [dev.] |
Eternal ID of this version: | #1032094/1 |
Text MD5: | 29c3f8898446b6bd6659819968dd7ca9 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 14:29:55 |
Source code size: | 303 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 207 |
Referenced in: | [show references] |