docs: public static int[] toAdjustedColumnArray(int[] colarr, int colindex,
              int adjust) {
  
          if (colarr == null) {
              return null;
          }
  
          if (colindex < 0) {
              return colarr;
          }
  
          int[] intarr = new int[colarr.length];
          int   j      = 0;
  
          for (int i = 0; i < colarr.length; i++) {
              if (colarr[i] > colindex) {
                  intarr[j] = colarr[i] + adjust;
  
                  j++;
              } else if (colarr[i] == colindex) {
                  if (adjust < 0) {
  
                      // skip an element from colarr
                  } else {
                      intarr[j] = colarr[i] + adjust;
  
                      j++;
                  }
              } else {
                  intarr[j] = colarr[i];
  
                  j++;
              }
          }
  
          if (colarr.length != j) {
              int[] newarr = new int[j];
  
              copyArray(intarr, newarr, j);
  
              return newarr;
          }
  
          return intarr;
      }