adds the object `` value '' in the list got from `` key '' . the object is not added if the list already contains it . the collection is implemented as an arraylist . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean removeAndCleanFromCollectionMap concode_elem_sep boolean addUniqueObjectToCollectionMap concode_elem_sep boolean isContainedInListMap concode_elem_sep boolean addUniqueComparableToListMap concode_elem_sep boolean removeObjectFromCollectionMap
boolean function ( KeyT arg0 , ValT arg1 , Map < KeyT , List < ValT >> arg2 ) { List < ValT > loc0 = arg2 . get ( arg0 ) ; if ( loc0 == null ) { List < ValT > loc1 = new ArrayList < ValT > ( ) ; loc1 . add ( arg1 ) ; return ( arg2 . put ( arg0 , loc1 ) == null ) ; } List < ValT > loc2 = loc0 ; if ( loc2 . contains ( arg1 ) ) { return true ; } loc2 . add ( arg1 ) ; return true ; }