List of usage examples for java.util UUID variant
public int variant()
From source file:Main.java
public static void main(String[] args) { // creating UUID UUID uid = UUID.randomUUID(); // checking variant value System.out.println("Variant value: " + uid.variant()); }