Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] Fast Persistence of Unique Numbers


  • From: tpanton@xxxxxxxxxxxxx (tpanton@xxxxxxxxxxxxx)
  • Subject: [Advanced-java] Fast Persistence of Unique Numbers
  • Date: Mon, 21 Jan 2002 11:37:25 +0000 (GMT)

Depending on why you want to persist the number, you may be able to avoid it. For instance Date.getTime gives you a number that is unique, untill you call it faster than the clock granularity.
(If I recall on solaris you never get the same number twice).
URL: http://www.westpoint.ltd.uk/ - internet recon.