code: public static ValueArray createArray(int begin, int end, int step) {
          if (end < begin) {
              throw new IllegalArgumentException("End must be greater or equal to begin");
          }
          int nbClasses = (int) ((end - begin) / step);
          ValueInt[] getArray = new ValueInt[nbClasses];
          for (int i = 0; i < nbClasses; i++) {
              getArray[i] = ValueInt.get(i * step + begin);
  
          }        
          return ValueArray.get(getArray);
      }
docs: Return an array of integers
  @param begin from start
  @param end to end
  @param step increment
  @return