code: public Object[] getValuesArray() {
          this.assertIncorrectOrder();
  
          Object[] params = new Object[this.order.size()];
  
          String parameterName = null;
          for (int i = 0; i < this.order.size(); i++) {
              parameterName = this.getNameByPosition(i);
  
              params[i] = this.getValue(parameterName);
          }
  
          return params;
      }
docs: Utility function.
  Returns array of values
  
  @return array of values