public boolean equals()

in src/main/java/com/awslabs/iot/client/commands/iot/mosh/KeyAndPort.java [33:42]


    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof KeyAndPort)) return false;
        final KeyAndPort other = (KeyAndPort) o;
        if (!other.canEqual(this)) return false;
        final Object this$key = this.getKey();
        final Object other$key = other.getKey();
        if (this$key == null ? other$key != null : !this$key.equals(other$key)) return false;
        return this.getPort() == other.getPort();
    }