@Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof Features)) {
            return false;
        }

        final Features that = (Features) other;
        return Objects.equals(this.features, that.features);
    }
Converts from a map to Features<SupportedVersionRange>.

@param featuresMap  the map representation of a Features<SupportedVersionRange> object,
                    generated using the toMap() API.

@return             the Features<SupportedVersionRange> object
clients/src/main/java/org/apache/kafka/common/feature/Features.java