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

9
LINES

< > BotCompany Repo | #1013153 // _registerTimer

JavaX fragment (include)

1  
static Set<java.util.Timer> _registerTimer_list = newWeakHashSet();
2  
3  
static void _registerTimer(java.util.Timer timer) {
4  
  _registerTimer_list.add(timer);
5  
}
6  
7  
static void cleanMeUp__registerTimer() {
8  
  cancelTimers(getAndClearList(_registerTimer_list));
9  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013153
Snippet name: _registerTimer
Eternal ID of this version: #1013153/5
Text MD5: dba988c9ceb1677743c28290f73acb06
Author: stefan
Category: javax / timers
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-17 00:38:12
Source code size: 262 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 457 / 1331
Version history: 4 change(s)
Referenced in: [show references]