@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((attributes == null) ? 0 : attributes.hashCode()); result = prime * result + ((directives == null) ? 0 : directives.hashCode()); result = prime * result + ((namespace == null) ? 0 : namespace.hashCode()); result = prime * result + ((resource == null) ? 0 : resource.hashCode()); return result; }
private static int calculateHashCode(String namespace, Map<String, String> directives, Map<String, Object> attributes, Resource resource) { final int prime = 31; int result = 1; result = prime * result + ((attributes == null) ? 0 : attributes.hashCode()); result = prime * result + ((directives == null) ? 0 : directives.hashCode()); result = prime * result + ((namespace == null) ? 0 : namespace.hashCode()); result = prime * result + ((resource == null) ? 0 : resource.hashCode()); return result; }
@Override public int hashCode() { int hash = 5; hash = 29 * hash + (this.m_requirer != null ? this.m_requirer.hashCode() : 0); hash = 29 * hash + (this.m_req != null ? this.m_req.hashCode() : 0); hash = 29 * hash + (this.m_provider != null ? this.m_provider.hashCode() : 0); hash = 29 * hash + (this.m_cap != null ? this.m_cap.hashCode() : 0); return hash; } }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_req != null ? m_req.hashCode() : 0); return hash; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((attributes == null) ? 0 : attributes.hashCode()); result = prime * result + ((directives == null) ? 0 : directives.hashCode()); result = prime * result + ((mode == null) ? 0 : mode.hashCode()); result = prime * result + ((namespace == null) ? 0 : namespace.hashCode()); result = prime * result + ((resource == null) ? 0 : resource.hashCode()); return result; }
@Override public int hashCode() { int hash = 5; hash = 29 * hash + (this.m_requirer != null ? this.m_requirer.hashCode() : 0); hash = 29 * hash + (this.m_req != null ? this.m_req.hashCode() : 0); hash = 29 * hash + (this.m_provider != null ? this.m_provider.hashCode() : 0); hash = 29 * hash + (this.m_cap != null ? this.m_cap.hashCode() : 0); return hash; } }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((attributes == null) ? 0 : attributes.hashCode()); result = prime * result + ((directives == null) ? 0 : directives.hashCode()); result = prime * result + ((mode == null) ? 0 : mode.hashCode()); result = prime * result + ((namespace == null) ? 0 : namespace.hashCode()); result = prime * result + ((resource == null) ? 0 : resource.hashCode()); return result; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_cap != null ? m_cap.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_cap != null ? m_cap.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 5; hash = 29 * hash + (this.m_requirer != null ? this.m_requirer.hashCode() : 0); hash = 29 * hash + (this.m_req != null ? this.m_req.hashCode() : 0); hash = 29 * hash + (this.m_provider != null ? this.m_provider.hashCode() : 0); hash = 29 * hash + (this.m_cap != null ? this.m_cap.hashCode() : 0); return hash; } }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_cap != null ? m_cap.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_req != null ? m_req.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_cap != null ? m_cap.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 5; hash = 29 * hash + (this.m_requirer != null ? this.m_requirer.hashCode() : 0); hash = 29 * hash + (this.m_req != null ? this.m_req.hashCode() : 0); hash = 29 * hash + (this.m_provider != null ? this.m_provider.hashCode() : 0); hash = 29 * hash + (this.m_cap != null ? this.m_cap.hashCode() : 0); return hash; } }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_cap != null ? m_cap.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_req != null ? m_req.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_req != null ? m_req.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 5; hash = 29 * hash + (this.m_requirer != null ? this.m_requirer.hashCode() : 0); hash = 29 * hash + (this.m_req != null ? this.m_req.hashCode() : 0); hash = 29 * hash + (this.m_provider != null ? this.m_provider.hashCode() : 0); hash = 29 * hash + (this.m_cap != null ? this.m_cap.hashCode() : 0); return hash; } }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (m_host != null ? m_host.hashCode() : 0); hash = 37 * hash + (m_req != null ? m_req.hashCode() : 0); return hash; }
@Override public int hashCode() { int hash = 5; hash = 29 * hash + (this.m_requirer != null ? this.m_requirer.hashCode() : 0); hash = 29 * hash + (this.m_req != null ? this.m_req.hashCode() : 0); hash = 29 * hash + (this.m_provider != null ? this.m_provider.hashCode() : 0); hash = 29 * hash + (this.m_cap != null ? this.m_cap.hashCode() : 0); return hash; } }