code: @Override
    public IVersion getMaximum()
    {
      switch (operator) {
        case "<":
          return version.getPrevVersion();
        case "<=":
          return version;
        case ">":
          return version.getNextVersion();
        case ">=":
          return null;
        default:
          throw new IllegalArgumentException("Invalid operator: " + operator);
      }
    }
docs: /*
  (non-Javadoc)
  @see net.ossindex.version.impl.IVersionRange#getMaximum()