class MultiValueMapUtil {

    static String[] EMPTY_VALUES = new String[0];


    static Map<String,String[]> stringToStringArrayMultiMap(final MultiValueMap<String,String> multiValueMap) {
        if (multiValueMap == null) {
            return null;
        }
        final Map<String,String[]> stringArrayMap =
                new LinkedHashMap<String,String[]>(multiValueMap.size() + 1, 1.0f);
        for (final Map.Entry<String, List<String>> multiValueMapEntry : multiValueMap.entrySet()) {
            final List<String> multiValueMapEntryValue = multiValueMapEntry.getValue();
            stringArrayMap.put(
                    multiValueMapEntry.getKey(),
                    multiValueMapEntry.getValue().toArray(new String[multiValueMapEntryValue.size()]));
        }
        return Collections.unmodifiableMap(stringArrayMap);
    }


    static Map<String,String[]> cookieToStringArrayMultiMap(final MultiValueMap<String, HttpCookie> multiValueMap) {<FILL_FUNCTION_BODY>}


    private MultiValueMapUtil() {
        super();
    }

}

        if (multiValueMap == null) {
            return null;
        }
        final Map<String,String[]> stringArrayMap =
                new LinkedHashMap<String,String[]>(multiValueMap.size() + 1, 1.0f);
        for (final Map.Entry<String, List<HttpCookie>> multiValueMapEntry : multiValueMap.entrySet()) {
            stringArrayMap.put(
                    multiValueMapEntry.getKey(),
                    multiValueMapEntry.getValue().stream().map(HttpCookie::getValue).toArray(String[]::new));
        }
        return Collections.unmodifiableMap(stringArrayMap);
    
<no_super_class>