equals() — netty Function Reference
Architecture documentation for the equals() function in XmlAttribute.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a6add449_c7c0_6490_0779_9e3662f695e5["equals()"] 378ec02d_a634_744c_ce67_20a194869f11["XmlAttribute"] a6add449_c7c0_6490_0779_9e3662f695e5 -->|defined in| 378ec02d_a634_744c_ce67_20a194869f11 style a6add449_c7c0_6490_0779_9e3662f695e5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-xml/src/main/java/io/netty/handler/codec/xml/XmlAttribute.java lines 58–86
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
XmlAttribute that = (XmlAttribute) o;
if (!name.equals(that.name)) {
return false;
}
if (namespace != null ? !namespace.equals(that.namespace) : that.namespace != null) {
return false;
}
if (prefix != null ? !prefix.equals(that.prefix) : that.prefix != null) {
return false;
}
if (type != null ? !type.equals(that.type) : that.type != null) {
return false;
}
if (value != null ? !value.equals(that.value) : that.value != null) {
return false;
}
return true;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does equals() do?
equals() is a function in the netty codebase, defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlAttribute.java.
Where is equals() defined?
equals() is defined in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlAttribute.java at line 58.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free