question: private static void parsePropertyAssignments ( Properties p , String [ ] assignments ) { for ( String assignment : assignments ) { int split = assignment . indexOf ( '=' ) ; String key = assignment . substring ( 0 , split ) ; String value = assignment . substring ( split + 1 ) ; p . put ( key , value ) ; } }
target:  Adds each element of 'assignments' to 'p', treating each element as an assignment in the form "key=value".