Lines Matching defs:variant
38 * of this class are for manipulating the Leach-Salz variant, although the
39 * constructors allow the creation of any variant of UUID (described below).
41 * <p> The layout of a variant 2 (Leach-Salz) UUID is as follows:
52 * 0xC000000000000000 variant
57 * <p> The variant field contains a value which identifies the layout of the
59 * UUID} with a variant value of 2, which indicates the Leach-Salz variant.
153 randomBytes[8] &= 0x3f; /* clear variant */
154 randomBytes[8] |= 0x80; /* set to IETF variant */
177 md5Bytes[8] &= 0x3f; /* clear variant */
178 md5Bytes[8] |= 0x80; /* set to IETF variant */
270 * The variant number associated with this {@code UUID}. The variant
273 * The variant number has the following meaning:
282 * @return The variant number of this {@code UUID}
284 public int variant() {
287 // 1 0 - The IETF aka Leach-Salz variant (used by this class)
411 * object, has the same variant, and contains the same value, bit for bit,