/** * Returns true iff the value parameter is a {@link GUID} and the VMID is equal. * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals(Object o) { boolean ret = false; if (o instanceof GUID) { ret = _vmid.equals(((GUID) o)._vmid); } return ret; }
/** * Get the string version of the VMID. * * @see java.lang.Object#toString() */ @Override public String toString() { return _vmid.toString().toUpperCase(); }
/** * Get the hashcode of the VMID. * * @see java.lang.Object#hashCode() */ @Override public int hashCode() { return _vmid.hashCode(); }
@Override public int hashCode() { return m_id ^ m_prefix.hashCode(); }