docs: public int indexOfRelativeIndex(int relativeIndex) {
      for (int i = 0; i < relativeIndices.length; i++) {
        if (relativeIndices[i] == relativeIndex) {
          return i;
        }
      }
      return -1;
    }