public @NotNull Map<K, V> keyToValue() {
    return Collections.unmodifiableMap(this.keyToValue);
  }
Get an unmodifiable mapping of index entries from key to value.

@return a mapping from key to value in the index
@since 4.10.0
api/src/main/java/net/kyori/adventure/util/Index.java