uuid.fromstring code example
Example 1: java uuid from string
// Import Java UUID Utils
import java.utils.UUID;
// Execute function fromString() with your string as argument.
// Returns an uuid, which is your string converted into an UUID.
UUID uuid = UUID.fromString(string);
Example 2: java string to uuid
UUID.fromString(string);