docs: static Object getIndexObject(String s)
      {
          long indexTest = indexFromString(s);
          if (indexTest >= 0) {
              return Integer.valueOf((int)indexTest);
          }
          return s;
      }