import java.util.UUID; final String uuid = UUID.randomUUID().toString();
Programming Tips - Java: generate a UUID (Universal Unique ID)
Date: 2014dec2
Language: Java
Q. Java: generate a UUID (Universal Unique ID)
A. You could do it yourself, but its easier to use this built in: