Lines Matching defs:variant
35 * of this class are for manipulating the Leach-Salz variant, although the
36 * constructors allow the creation of any variant of UUID (described below).
38 * <p> The layout of a variant 2 (Leach-Salz) UUID is as follows:
49 * 0xC000000000000000 variant
54 * <p> The variant field contains a value which identifies the layout of the
56 * UUID} with a variant value of 2, which indicates the Leach-Salz variant.
148 randomBytes[8] &= 0x3f; /* clear variant */
149 randomBytes[8] |= 0x80; /* set to IETF variant */
172 md5Bytes[8] &= 0x3f; /* clear variant */
173 md5Bytes[8] |= 0x80; /* set to IETF variant */
251 * The variant number associated with this {@code UUID}. The variant
254 * The variant number has the following meaning:
263 * @return The variant number of this {@code UUID}
265 public int variant() {
268 // 1 0 - The IETF aka Leach-Salz variant (used by this class)
401 * object, has the same variant, and contains the same value, bit for bit,