List of usage examples for java.util Objects equals
public static boolean equals(Object a, Object b)
From source file:com.autodesk.client.model.HubAttributes.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }/*w w w.j ava 2 s .c o m*/ if (o == null || getClass() != o.getClass()) { return false; } HubAttributes hubAttributes = (HubAttributes) o; return Objects.equals(this.name, hubAttributes.name) && Objects.equals(this.extension, hubAttributes.extension); }
From source file:com.autodesk.client.model.JsonApiRelationshipsLinksRefsLinks.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }/*from w w w .j a v a 2 s . c o m*/ if (o == null || getClass() != o.getClass()) { return false; } JsonApiRelationshipsLinksRefsLinks jsonApiRelationshipsLinksRefsLinks = (JsonApiRelationshipsLinksRefsLinks) o; return Objects.equals(this.self, jsonApiRelationshipsLinksRefsLinks.self) && Objects.equals(this.related, jsonApiRelationshipsLinksRefsLinks.related); }
From source file:libepg.epg.section.SectionBody.java
@Override public boolean equals(Object obj) { if (this == obj) { return true; }/* w w w .jav a 2s . com*/ if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final SectionBody other = (SectionBody) obj; if (this.tableID != other.tableID) { return false; } if (!Objects.equals(this.data, other.data)) { return false; } return true; }
From source file:com.ibm.watson.catalyst.jumpqa.trec.Trec.java
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null || getClass() != obj.getClass()) return false; Trec other = (Trec) obj;//from w w w . ja v a 2 s . co m if (!Objects.equals(other._file, this._file)) return false; if (!Objects.equals(other._pau, this._pau)) return false; if (!Objects.equals(other._sourceDoc, this._sourceDoc)) return false; if (!Objects.equals(other._paragraphs, this._paragraphs)) return false; return true; }
From source file:com.cloud.agent.api.element.ImplementVspCommand.java
@Override public boolean equals(Object o) { if (this == o) { return true; }//from w w w . ja v a2 s. co m if (!(o instanceof ImplementVspCommand)) { return false; } ImplementVspCommand that = (ImplementVspCommand) o; return super.equals(that) && Objects.equals(_network, that._network) && Objects.equals(_dhcpOption, that._dhcpOption) && Objects.equals(_floatingIpUuids, that._floatingIpUuids) && Objects.equals(_ingressFirewallRules, that._ingressFirewallRules) && Objects.equals(_egressFirewallRules, that._egressFirewallRules); }
From source file:net.bluemix.connectors.core.info.WatsonDiscoveryServiceInfo.java
@Override public boolean equals(Object obj) { if (this == obj) { return true; }/*w w w . ja va 2s. c o m*/ if (obj == null || getClass() != obj.getClass()) { return false; } final WatsonDiscoveryServiceInfo other = (WatsonDiscoveryServiceInfo) obj; if (!Objects.equals(this.id, other.id)) { return false; } if (!Objects.equals(this.username, other.username)) { return false; } if (!Objects.equals(this.password, other.password)) { return false; } if (!Objects.equals(this.url, other.url)) { return false; } return Objects.equals(this.id, other.id); }
From source file:com.autodesk.client.model.Projects.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }//from w ww . j a va2s .c om if (o == null || getClass() != o.getClass()) { return false; } Projects projects = (Projects) o; return Objects.equals(this.jsonapi, projects.jsonapi) && Objects.equals(this.data, projects.data); }
From source file:com.autodesk.client.model.Versions.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }//from w ww .j av a2 s. c om if (o == null || getClass() != o.getClass()) { return false; } Versions versions = (Versions) o; return Objects.equals(this.jsonapi, versions.jsonapi) && Objects.equals(this.data, versions.data); }
From source file:com.davidbracewell.math.distribution.NormalDistribution.java
@Override public boolean equals(Object obj) { if (this == obj) { return true; }// ww w . ja va2 s. c o m if (obj == null || getClass() != obj.getClass()) { return false; } final NormalDistribution other = (NormalDistribution) obj; return Objects.equals(this.mean, other.mean) && Objects.equals(this.stddev, other.stddev); }
From source file:de.chludwig.websec.saml2sp.security.ApplicationUser.java
@Override public boolean equals(Object o) { if (this == o) { return true; }// w w w . ja v a 2 s.c o m if (!(o instanceof ApplicationUser)) { return false; } ApplicationUser that = (ApplicationUser) o; return Objects.equals(getUserId(), that.getUserId()); }