public boolean equals()

in sdmx30-infomodel/src/main/java/com/epam/jsdmx/infomodel/sdmx30/InternationalString.java [39:57]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null) {
            return Objects.equals(
                collectNotEmptyLocales(getAll()),
                Map.of()
            );
        }
        if (getClass() != o.getClass()) {
            return false;
        }
        InternationalString that = (InternationalString) o;
        return Objects.equals(
            collectNotEmptyLocales(getAll()),
            collectNotEmptyLocales(that.getAll())
        );
    }