Lines Matching refs:version
51 private transient int version;
95 // setup version field
96 version = (int) ((mostSigBits & 0x000000000000F000) >>> 12);
98 if (variant != 2 && version != 1) {
117 * Generates a variant 2, version 4 (randomly generated number) UUID as per
136 * Generates a variant 2, version 3 (name-based, MD5-hashed) UUID as per <a
155 private static UUID makeUuid(byte[] hash, int version) {
158 // Set the version field.
160 msb |= ((long) version) << 12;
236 * The version of the variant 2 UUID as per <a
238 * is not 2, then the version will be 0.
249 public int version() {
250 return version;
272 * The timestamp value of the version 1, variant 2 UUID as per <a
277 * if {@link #version()} is not 1.
280 if (version != 1) {
288 * The clock sequence value of the version 1, variant 2 UUID as per <a
293 * if {@link #version()} is not 1.
296 if (version != 1) {
304 * The node value of the version 1, variant 2 UUID as per <a
309 * if {@link #version()} is not 1.
312 if (version != 1) {
399 * time-high-and-version "-"
404 * time-high-and-version = 2hexOctet