@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        CharSequenceSet that = (CharSequenceSet) o;
        return wrapperSet.equals(that.wrapperSet);
    }
Copied from iceberg 1.1.x. Modify Set to concurrent Set.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/trick/CharSequenceSet.java