code: private static boolean queryParamsOperatorAlwaysMatchesOperator(QueryParam.Type type, List<String> queryParamList,
                                                                      ComparisonOperator operator) {
          for (String queryItem : queryParamList) {
              Matcher matcher = getPattern(type).matcher(queryItem);
              String op = "";
              if (matcher.find()) {
                  op = matcher.group(1);
              }
              if (operator != getComparisonOperator(op, type)) {
                  return false;
              }
          }
  
          return true;
      }
docs: Auxiliary method to check if the operator of each of the values in the queryParamList matches the operator passed.
  
  @param type QueryParam type.
  @param queryParamList List of values.
  @param operator Operator to be checked.
  @return boolean indicating whether the list of values have always the same operator or not.