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

        final FinalizedVersionRange that = (FinalizedVersionRange) other;
        return this.minVersionLevel == that.minVersionLevel &&
            this.maxVersionLevel == that.maxVersionLevel;
    }
Raises an exception unless the following condition is met:
{@code minVersionLevel >= 1} and {@code maxVersionLevel >= 1} and {@code maxVersionLevel >= minVersionLevel}.

@param minVersionLevel   The minimum version level value.
@param maxVersionLevel   The maximum version level value.

@throws IllegalArgumentException   Raised when the condition described above is not met.
clients/src/main/java/org/apache/kafka/clients/admin/FinalizedVersionRange.java