question: public static Map < String , Set < String > > toAvPairMap ( final Set < String > names , final String value ) { if ( value == null ) { return Collections . EMPTY_MAP ; } if ( names == null || names . isEmpty ( ) ) { return new HashMap ( ) ; } final Map < String , Set < String > > map = new HashMap < String , Set < String > > ( names . size ( ) ) ; final Set < String > set = new HashSet < String > ( 1 ) ; set . add ( value ) ; for ( final String name : names ) { map . put ( name , set ) ; } return map ; }
target:  Creates a Hash Map, of names mapped to the provided value. If there is no value, an empty map is returned.