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

5
LINES

< > BotCompany Repo | #1002705 // uniqueNow - a per-program-unique value similar to now() - also called "smartNow"

JavaX source code - run with: x30.jar

static long uniqueNow_last;

static long uniqueNow() {
  ret uniqueNow_last = max(uniqueNow_last + 1, now());
}

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: #1002705
Snippet name: uniqueNow - a per-program-unique value similar to now() - also called "smartNow"
Eternal ID of this version: #1002705/1
Text MD5: bc160625ec3bac5936d06cb47d781be0
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-15 21:27:25
Source code size: 115 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 612 / 568
Referenced in: [show references]