code: public static <KEY extends Comparable<KEY>, VALUE> MapToCacheAdapter<KEY, VALUE> of(Map<KEY, VALUE> map) {
      return new MapToCacheAdapter<>(map);
    }
docs: Factory method used to construct an instance of the {@link MapToCacheAdapter} initialized with
  the given {@link Map}.
  
  @param <KEY> {@link Class type} of the keys used by this {@link Cache}.
  @param <VALUE> {@link Class type} of the values stored by this {@link Cache}.
  @param map {@link Map} adapted as an instance of a {@link Cache} and used to back
  the {@link MapToCacheAdapter} instance.
  @return a new instance of the {@link MapToCacheAdapter} initialized and backed by the given {@link Map}.
  @throws IllegalArgumentException if the {@link Map} is {@literal null}.
  @see java.util.Map
  @see #MapToCacheAdapter(Map)