question: private ChannelSelection createChannelSelection ( StyleFactoryImpl styleFactory , ContrastMethod contrastMethod ) { ContrastEnhancement contrastEnhancement = ( ContrastEnhancement ) styleFactory . contrastEnhancement ( null , contrastMethod . name ( ) ) ; FilterFactory ff = CommonFactoryFinder . getFilterFactory ( ) ; Map < String , Expression > options = contrastEnhancement . getOptions ( ) ; options . put ( "algorithm" , ff . literal ( "StretchToMinimumMaximum" ) ) ; options . put ( "minValue" , ff . literal ( "1" ) ) ; options . put ( "maxValue" , ff . literal ( "5" ) ) ; SelectedChannelType channelType = styleFactory . createSelectedChannelType ( "channel name" , contrastEnhancement ) ; SelectedChannelType [ ] channels = new SelectedChannelType [ 3 ] ; channels [ 0 ] = channelType ; channels [ 1 ] = channelType ; channels [ 2 ] = channelType ; ChannelSelection channelSelection = styleFactory . createChannelSelection ( channels ) ; return channelSelection ; }
target:  Creates the channel selection object