Home / Function/ equals() — netty Function Reference

equals() — netty Function Reference

Architecture documentation for the equals() function in MqttSubscriptionOption.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c92f624b_8c03_dd41_a41e_3820f68ca794["equals()"]
  2cd77638_d6c3_206d_86c8_10bf38dfff66["MqttSubscriptionOption"]
  c92f624b_8c03_dd41_a41e_3820f68ca794 -->|defined in| 2cd77638_d6c3_206d_86c8_10bf38dfff66
  style c92f624b_8c03_dd41_a41e_3820f68ca794 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttSubscriptionOption.java lines 87–108

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        MqttSubscriptionOption that = (MqttSubscriptionOption) o;

        if (noLocal != that.noLocal) {
            return false;
        }
        if (retainAsPublished != that.retainAsPublished) {
            return false;
        }
        if (qos != that.qos) {
            return false;
        }
        return retainHandling == that.retainHandling;
    }

Domain

Subdomains

Frequently Asked Questions

What does equals() do?
equals() is a function in the netty codebase, defined in codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttSubscriptionOption.java.
Where is equals() defined?
equals() is defined in codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttSubscriptionOption.java at line 87.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free