code: public static <K,V> Cache2kConfiguration<K, V> of(CacheType<K> keyType, CacheType<V> valueType) {
      Cache2kConfiguration<K,V> c = new Cache2kConfiguration<K,V>();
      c.setKeyType(keyType);
      c.setValueType(valueType);
      return c;
    }
docs: Construct a config instance setting the type parameters and returning a
  proper generic type.
  
  @see Cache2kBuilder#keyType(CacheType)
  @see Cache2kBuilder#valueType(CacheType)