public static <K, V> Map<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) {
        Map<K, V> result = new HashMap<>(5);
        result.put(k1, v1);
        result.put(k2, v2);
        result.put(k3, v3);
        result.put(k4, v4);
        result.put(k5, v5);
        return Collections.unmodifiableMap(result);
    }
Returns an unmodifiable map containing five mappings.

@param <K> the Map's key type
@param <V> the Map's value type
@param k1 the first mapping's key
@param v1 the first mapping's value
@param k2 the second mapping's key
@param v2 the second mapping's value
@param k3 the third mapping's key
@param v3 the third mapping's value
@param k4 the fourth mapping's key
@param v4 the fourth mapping's value
@param k5 the fifth mapping's key
@param v5 the fifth mapping's value
@return a Map containing the specified mappings
@throws IllegalArgumentException if there are any duplicate keys
@throws NullPointerException if any key or value is {@code null}
smithy-utils/src/main/java/software/amazon/smithy/utils/MapUtils.java