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,
            K k6,
            V v6,
            K k7,
            V v7,
            K k8,
            V v8,
            K k9,
            V v9,
            K k10,
            V v10
    ) {
        Map<K, V> result = new HashMap<>(10);
        result.put(k1, v1);
        result.put(k2, v2);
        result.put(k3, v3);
        result.put(k4, v4);
        result.put(k5, v5);
        result.put(k6, v6);
        result.put(k7, v7);
        result.put(k8, v8);
        result.put(k9, v9);
        result.put(k10, v10);
        return Collections.unmodifiableMap(result);
    }
Returns an unmodifiable map containing ten 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
@param k6 the sixth mapping's key
@param v6 the sixth mapping's value
@param k7 the seventh mapping's key
@param v7 the seventh mapping's value
@param k8 the eighth mapping's key
@param v8 the eighth mapping's value
@param k9 the ninth mapping's key
@param v9 the ninth mapping's value
@param k10 the tenth mapping's key
@param v10 the tenth 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