public boolean equals()

in flink-connector-mongodb/src/main/java/org/apache/flink/connector/mongodb/common/config/MongoConnectionOptions.java [56:67]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        MongoConnectionOptions that = (MongoConnectionOptions) o;
        return Objects.equals(uri, that.uri)
                && Objects.equals(database, that.database)
                && Objects.equals(collection, that.collection);
    }