returns a color model for a category set . this method builds up the color model from each category 's colors as returned by category #getcolors . concode_field_sep int numBands concode_elem_sep int visibleBand concode_elem_sep Category[] categories concode_elem_sep int type concode_elem_sep Map<ColorModelFactory,ColorModel> colors concode_field_sep int hashCode concode_elem_sep boolean equals
ColorModel function ( final Category [ ] arg0 , final int arg1 , final int arg2 , final int arg3 ) { synchronized ( colors ) { ColorModelFactory loc0 = new ColorModelFactory ( arg0 , arg1 , arg2 , arg3 ) ; ColorModel loc1 = colors . get ( loc0 ) ; if ( loc1 == null ) { loc1 = loc0 . getColorModel ( ) ; colors . put ( loc0 , loc1 ) ; } return loc1 ; } }