public static < K , V > ImmutableMapParameter < K , V > of ( K k0 , V v0 , K k1 , V v1 ) { Map < K , V > map = new HashMap < K , V > ( ) ; putAndWarnDuplicateKeys ( map , k0 , v0 ) ; putAndWarnDuplicateKeys ( map , k1 , v1 ) ; return new ImmutableMapParameter < K , V > ( map ) ; }
Returns an ImmutableMapParameter instance containing two entries .