/** * Returns a VMID as a string. * * @return VMID as a string. */ public static String asString() { return getInstance().toString(); }
/** * Construct a new GUID. */ public GUID() { this.vmid = VMID.getInstance(); this.uid = new UID(); // generate a hash code for this GUID int code = vmid.hashCode(); code ^= uid.hashCode(); hashCode = code; }