Map < T , String > function ( Set < T > arg0 ) { Map < T , String > loc0 = new HashMap < T , String > ( ) ; for ( T loc1 : arg0 ) { Color loc2 = tintColor ( getRandomColor ( ) , FIXED_TINT_FACTOR ) ; loc0 . put ( loc1 , getColorString ( loc2 ) ) ; } return loc0 ; }
builds a map of the supplied keys to random colors . each color is selected randomly and tinted with a fixed tint . concode_field_sep double MAX_TINT_FACTOR concode_elem_sep double MIN_TINT_FACTOR concode_elem_sep double FIXED_TINT_FACTOR concode_field_sep Map<T,String> getGraduatedColorMap concode_elem_sep Color tintColor concode_elem_sep Color getRandomColor concode_elem_sep int applyTint concode_elem_sep String getColorString