code: public List<Object[]> toArrayList(List<QueryParameters> paramsList) {
          List<Object[]> result = new ArrayList<Object[]>();
          QueryParameters singleParam = null;
          Object[] singleResult = null;
          String parameterName = null;
  
          Iterator<QueryParameters> iterator = paramsList.iterator();
  
          // skipping header
          if (iterator.hasNext() == true) {
              iterator.next();
          }
  
          while (iterator.hasNext() == true) {
              singleParam = iterator.next();
  
              singleResult = new Object[singleParam.size()];
  
              for (int j = 0; j < singleParam.size(); j++) {
                  parameterName = singleParam.getNameByPosition(j);
  
                  singleResult[j] = singleParam.getValue(parameterName);
              }
  
              result.add(singleResult);
          }
  
          return result;
      }
docs: {@inheritDoc}