com.arm.mbed.cloud.sdk.common.UuidGenerator Maven / Gradle / Ivy
package com.arm.mbed.cloud.sdk.common;
import java.util.UUID;
import com.arm.mbed.cloud.sdk.annotations.Internal;
import com.arm.mbed.cloud.sdk.annotations.Preamble;
@Preamble(description = "Generator of Universal Unique Identifier")
@Internal
public final class UuidGenerator {
private UuidGenerator() {
super();
}
/**
* Generates a UUID.
*
* @return UUID
*/
public static String generate() {
return UUID.randomUUID().toString();
}
}