/** * Returns a hash code for this object. * @return a hash code value for this object. */ public int hashCode() { int hash = 7; hash = 83 * hash + (serviceKey != null ? serviceKey.hashCode() : 0); hash = 83 * hash + (supportedCapabilities != null ? supportedCapabilities.hashCode() : 0); hash = 83 * hash + (serviceProperties != null ? serviceProperties.hashCode() : 0); hash = 83 * hash + (serviceAddresses != null ? serviceAddresses.hashCode() : 0); return hash; }
/** * Returns a hash code for this object. * @return a hash code value for this object. */ public int hashCode() { int hash = 7; hash = 83 * hash + (serviceProviderName != null ? serviceProviderName.hashCode() : 0); hash = 83 * hash + (domain != null ? domain.hashCode() : 0); hash = 83 * hash + (network != null ? network.hashCode() : 0); hash = 83 * hash + (sessionType != null ? sessionType.hashCode() : 0); hash = 83 * hash + (sessionName != null ? sessionName.hashCode() : 0); hash = 83 * hash + (serviceKey != null ? serviceKey.hashCode() : 0); hash = 83 * hash + (requiredCapabilities != null ? requiredCapabilities.hashCode() : 0); return hash; }