adds a new supported languagecode , with specified weight . overrides any previous weight for the language . concode_field_sep double D0 concode_elem_sep Map<ULocale,Double> languageToWeight concode_elem_sep Comparator<Double> myDescendingDouble concode_elem_sep Pattern languageSplitter concode_elem_sep Double D1 concode_elem_sep Pattern weightSplitter concode_elem_sep Map<ULocale,Double> languagesAndWeights concode_field_sep Iterator<ULocale> iterator concode_elem_sep int compare concode_elem_sep LocalePriorityList build concode_elem_sep LocalePriorityList build concode_elem_sep Double getWeight concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString
Builder function ( final ULocale arg0 , double arg1 ) { if ( languageToWeight . containsKey ( arg0 ) ) { languageToWeight . remove ( arg0 ) ; } if ( arg1 <= D0 ) { return this ; } else if ( arg1 > D1 ) { arg1 = D1 ; } languageToWeight . put ( arg0 , arg1 ) ; return this ; }