ParseResults function ( String arg0 ) { ParseResults loc0 = parseMimeType ( arg0 ) ; String loc1 = loc0 . params . get ( "srini_string" ) ; float loc2 = NumberUtils . toFloat ( loc1 , 1 ) ; if ( StringUtils . isBlank ( loc1 ) || loc2 < 0 || loc2 > 1 ) loc0 . params . put ( "srini_string" , "srini_string" ) ; return loc0 ; }
carves up a media range and returns a parseresults . for example , the media range ` application / ; q = 0.5 ' would get parsed into : ` application ' , '' , ` q ' , ' 0.5 ' in addition this function also guarantees that there is a value for ` q ' in the params dictionary , filling it in with a proper default if necessary . concode_field_sep int fitness concode_elem_sep String subType concode_elem_sep String mimeType concode_elem_sep String type concode_elem_sep Map<String,String> params concode_elem_sep float quality concode_field_sep String bestMatch concode_elem_sep float qualityParsed concode_elem_sep ParseResults parseMimeType concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep FitnessAndQuality fitnessAndQualityParsed concode_elem_sep float quality