public boolean equals()

in datasource-client/src/main/java/org/apache/seatunnel/datasource/configuration/util/Condition.java [98:110]


    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Condition)) {
            return false;
        }
        Condition<?> that = (Condition<?>) obj;
        return Objects.equals(this.option, that.option)
            && Objects.equals(this.expectValue, that.expectValue)
            && Objects.equals(this.and, that.and)
            && Objects.equals(this.next, that.next);
    }