Does java.util.UUID.randomUUID().toString() length always equal to 36?
I was not able to find info on that. Here it is said only the following:
public static UUID randomUUID()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID. The UUID is generated using a cryptographically strong pseudo random number generator.
Returns:
A randomly generated UUID
And that type 4
tells me nothing. I do not know what type 4 means in the case.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…