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

8
LINES

< > BotCompany Repo | #1015925 // Countdown

JavaX fragment (include)

1  
sclass Countdown {
2  
  long endTime;
3  
  
4  
  *() {}
5  
  *(long duration) { endTime = now() + duration; }
6  
  
7  
  bool done() { ret now() >= endTime; }
8  
}

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: #1015925
Snippet name: Countdown
Eternal ID of this version: #1015925/1
Text MD5: 552d2f85c4aef41b5aef8d398ca31f72
Author: stefan
Category: javax / timing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-30 21:35:31
Source code size: 149 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 310 / 867
Referenced in: [show references]