I need a object which generates unique identifiers for all instances I
create how to do this ?
Thanks Regards
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
--- temp temp [EMAIL PROTECTED] wrote:
I need a object which generates unique identifiers
for all instances I create how to do this ?
Synchronized counter? http://jug.safehaus.org/?
* http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
The simplest thing would be something like
String id = UUID.randomUUID().toString();
-HTH, Ted
http://www.husted.com/ted/blog/
On 3/23/07, temp temp [EMAIL PROTECTED] wrote:
I need a object which generates unique identifiers
3 matches
Mail list logo