public class UUID extends Object
Constructor and Description |
---|
UUID() |
Modifier and Type | Method and Description |
---|---|
static String |
uuid()
Generate a RFC4122, version 4 ID.
|
static String |
uuid(int len)
Generate a random uuid of the specified length.
|
static String |
uuid(int len,
int radix)
Generate a random uuid of the specified length, and radix.
|
public static String uuid(int len)
len
- the desired number of characterspublic static String uuid(int len, int radix)
len
- the desired number of charactersradix
- the number of allowable values for each character (must be <=
62)public static String uuid()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.