The Artima Developer Community
Sponsored Link

Java Buzz Forum
Generate Unique id using UUID in java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
T Tak

Posts: 152
Nickname: awsometak
Registered: Feb, 2016

T Tak is Java Enthusiast
Generate Unique id using UUID in java Posted: May 26, 2016 7:29 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by T Tak.
Original Post: Generate Unique id using UUID in java
Feed Title: programtalk
Feed URL: http://programtalk.com/feed/
Feed Description: A blog mainly about java
Latest Java Buzz Posts
Latest Java Buzz Posts by T Tak
Latest Posts From programtalk

Advertisement

Java provides a class java.util.UUID which can be used to generate a randon UUID. Here is a sample code to create a UUID. Output: So the above code can be used to assign ids to entities e.g; Suppose you are writing Person java class and want each person to have a unique id, you can use ... [Read more...]

The post Generate Unique id using UUID in java appeared first on programtalk.com.

Read: Generate Unique id using UUID in java

Topic: Android Activity Transition Example Previous Topic   Next Topic Topic: 55% off Rugged Geek Portable Power Supply and Vehicle Jump Starter - Deal Alert

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use