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

18
LINES

< > BotCompany Repo | #1032094 // JavaXRepeatTimer [dev.]

JavaX fragment (include)

sclass JavaXRepeatTimer(double frequency) {
  bool started;
  
  void start {
    bool starting;
    synchronized {
      bool starting = !started;
      if (!starting) ret;
      set started;
    }
    if (starting)
      startImpl();
  }
  
  void startImpl() {
    if (enabled)
  }
}

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: 62 / 83
Referenced in: [show references]