UUID function ( ) { SecureRandom loc0 = numberGenerator ; if ( loc0 == null ) { numberGenerator = loc0 = new SecureRandom ( ) ; } byte [ ] loc1 = new byte [ 16 ] ; loc0 . nextBytes ( loc1 ) ; loc1 [ 6 ] &= 0x0f ; loc1 [ 6 ] |= 0x40 ; loc1 [ 8 ] &= 0x3f ; loc1 [ 8 ] |= 0x80 ; return new UUID ( loc1 ) ; }
static factory to retrieve a type 4 pseudo randomly generated uuid . the uuid is generated using a cryptographically strong pseudo random number generator . concode_field_sep SecureRandom numberGenerator concode_elem_sep long leastSigBits concode_elem_sep long mostSigBits concode_field_sep String randomBase64UUID concode_elem_sep long getMostSignificantBits concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String digits concode_elem_sep UUID nameUUIDFromBytes concode_elem_sep UUID fromString concode_elem_sep int compareTo concode_elem_sep long getLeastSignificantBits