public class GUID
extends java.lang.Object
Constructor and Description |
---|
GUID() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
get()
Generate a RFC4122, version 4 ID.
|
static java.lang.String |
get(int len)
Generate a random uuid of the specified length.
|
static java.lang.String |
get(int len,
int radix)
Generate a random uuid of the specified length, and radix.
|
public static java.lang.String get(int len)
len
- the desired number of characterspublic static java.lang.String get(int len, int radix)
len
- the desired number of charactersradix
- the number of allowable values for each character (must be <=
62)public static java.lang.String get()
Copyright © 2021. All Rights Reserved.