Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UUID

captain_kirkMay 12 2016 — edited May 12 2016

I am new to these forums and I apologize if I am posting this in the wrong place.

I recently introduced UUID's with UUID.randomUUID() into a program that required unique filenames. I was impressed by this capability. However I was challenged about this by one person who claims that these ids are not unique. Below is a URL regarding UUID. I will now need to read in a value from an ini file, a very slow laborious process to "guarantee" uniqueness because of one person's misunderstanding about this. Is there any proof that UUID is unique? Thanks, jetMan.

Java Practices -> Generating unique IDs

This post has been answered by handat on May 12 2016
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 9 2016
Added on May 12 2016
2 comments
1,363 views