code: public static boolean match(Version version, String begin, String end) {
          E.checkArgumentNotNull(version, "The version to match is null");
          return version.compareTo(new Version(begin)) >= 0 &&
                 version.compareTo(new Version(end)) < 0;
      }
docs: Compare if a version is inside a range [begin, end)
  @param version   The version to be compared
  @param begin     The lower bound of the range
  @param end       The upper bound of the range
  @return          true if belong to the range, otherwise false