@ Inline ( value = "$1.put($2.getKey(), $2.getValue())" , statementExpression = true ) public static < K , V > V operator_add ( Map < K , V > map , Pair < ? extends K , ? extends V > entry ) { return map . put ( entry . getKey ( ) , entry . getValue ( ) ) ; }
Add the given pair into the map .