code: public static <K,V> MapAdapter<K,V> mapAdapter(final Map<K,V> map) {
          return key -> Optional.ofNullable(map.get(key));
      }
docs: Produces a MapAdapter for the given Map.
  @param <K> type of map keys
  @param <V> type of map values