docs: public static String[] mapStringToArray(String map) {
      String[] m = map.split("[,;]");
      int maxIndex = 0;
      String[] keys = new String[m.length];
      int[] indices = new int[m.length];
      for (int i = 0; i < m.length; i++) {
        int index = m[i].lastIndexOf('=');
        keys[i] = m[i].substring(0, index);
        indices[i] = Integer.parseInt(m[i].substring(index + 1));
        if (indices[i] > maxIndex) {
          maxIndex = indices[i];
        }
      }
      String[] mapArr = new String[maxIndex + 1];
      Arrays.fill(mapArr, null);
      for (int i = 0; i < m.length; i++) {
        mapArr[indices[i]] = keys[i];
      }
      return mapArr;
    }