All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.ibm.icu.util.LocaleMatcher.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?5com/groupbyinc/flux/common/ibm/icu/util/LocaleMatcherjava/lang/ObjectLocaleMatcher.java7com/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$1Icom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LanguageMatcherDataLanguageMatcherData?com/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$ScoreData	ScoreData;com/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LevelLevelJcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LocalePatternMatcherLocalePatternMatcherBcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$OutputDoubleOutputDouble.com/groupbyinc/flux/common/ibm/icu/impl/Row$R3+com/groupbyinc/flux/common/ibm/icu/impl/RowR3java/util/Map$Entry
java/util/MapEntryEcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher$Builder!=com/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher#BuilderBcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList$Builder&:com/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList(Mcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleDistance$DistanceOption*>com/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleDistance,DistanceOptionDEBUGZLjava/lang/Deprecated;UNKNOWN_LOCALE1Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;DEFAULT_THRESHOLDD??defaultLanguage	thresholdlocaleToMaxLocaleAndWeightLjava/util/Set;?Ljava/util/Set;>;1desiredLanguageToPossibleLocalesToMaxLocaleToDataLjava/util/Map;?Ljava/util/Map;>;>;matcherDataKLcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LanguageMatcherData;languagePriorityList;xLocaleMatcher?Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher;xDefaultLanguagexFavorScript?(Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList;)VEB	O?(Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList;Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LanguageMatcherData;)VMQ
Rthis7Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher;(Ljava/lang/String;)VaddX(Ljava/lang/String;)Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList$Builder;WX
)Ybuild>()Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList;[\
']MN
_languagePriorityListStringLjava/lang/String;?(Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList;Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LanguageMatcherData;D)VMc
d()VMf
gjava/util/LinkedHashSeti
jg;<	ljava/util/LinkedHashMapn
og>?	qIJ	sK4	uL0	wfreezeM()Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LanguageMatcherData;yz
	{AB	}CD	iterator()Ljava/util/Iterator;??
)?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????/com/groupbyinc/flux/common/ibm/icu/util/ULocale?	getWeightE(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Ljava/lang/Double;??
)?F(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Ljava/lang/Double;)VW?
?processMapping?f
?94	?:6	?languageitGLjava/util/Iterator;Ljava/util/Iterator;match?(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)D??
	?desired
desiredMax	supportedsupportedMaxcanonicalized(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;getLanguage()Ljava/lang/String;??
??FG	?java/util/HashMap?get&(Ljava/lang/Object;)Ljava/lang/Object;??
??java/lang/String?	getScript??
??
getCountry??
??9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VM?
??ulocalelanglang2scriptscript2regionregion2getBestMatcho(Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;<(Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$1;)VM?
?getBestMatchInternal?(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$OutputDouble;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;??
?value?6	?java/lang/Double?doubleValue()D??
?????I?o?matchLocaleweightlanguageList
bestWeightbestTableMatchpenaltymatchWeightDLcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$OutputDouble;E(Ljava/lang/String;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;??
?e([Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;x([Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList$Builder;W?
)?ulocales2[Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;toStringjava/lang/StringBuilder?
?g{?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??, ?}???
???
addLikelySubtags?
?
java/util/Set	
?get0?

get1?
get2?

???????+tableKey	maxLocale
matchedWeightLjava/lang/Double;
tableKeyValue?Lcom/groupbyinc/flux/common/ibm/icu/impl/Row$R3;0Lcom/groupbyinc/flux/common/ibm/icu/impl/Row$R3;languageCodeoutputWeight	maximizedbaseLanguagesearchTableofh(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/ibm/icu/impl/Row$R3;$%
&/()Lcom/groupbyinc/flux/common/ibm/icu/impl/Row;y(
)(Ljava/lang/Object;)ZW+
,rowmatchingLanguages4()Lcom/groupbyinc/flux/common/ibm/icu/impl/Relation;/0
	10com/groupbyinc/flux/common/ibm/icu/impl/Relation3keyValuesSet()Ljava/util/Set;56
47getKey9?:getValue<?=contains?+
@addFilteredE(Ljava/lang/String;Lcom/groupbyinc/flux/common/ibm/icu/impl/Row$R3;)VBC
DkeylocaleToMaxAndWeight#Ljava/util/Set;desiredToMatchingLanguagesLLjava/util/Map$Entry;>;Ljava/util/Map$Entry;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;LMNmap34	QequalsS+
?T
?length()IWX
?Yund[_]Zzzz_ZZaMV
?cresultgetICUSupplementalData=()Lcom/groupbyinc/flux/common/ibm/icu/impl/ICUResourceBundle;5com/groupbyinc/flux/common/ibm/icu/impl/data/icudt61bhsupplementalDataj9com/groupbyinc/flux/common/ibm/icu/impl/ICUResourceBundlelICU_DATA_CLASS_LOADERLjava/lang/ClassLoader;no	mp7com/groupbyinc/flux/common/ibm/icu/util/UResourceBundlergetBundleInstancev(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Lcom/groupbyinc/flux/common/ibm/icu/util/UResourceBundle;tu
svsuppData;Lcom/groupbyinc/flux/common/ibm/icu/impl/ICUResourceBundle;e(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)D{
cabmatcherdistancee(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)IgetLocaleMatcherA()Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher;??
???
$?builderI()Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher$Builder;??
$?setSupportedLocales?(Lcom/groupbyinc/flux/common/ibm/icu/util/LocalePriorityList;)Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher$Builder;??
"?setDefaultLanguagez(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher$Builder;??
"?SCRIPT_FIRSTOLcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleDistance$DistanceOption;??	+?setDistanceOption?(Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleDistance$DistanceOption;)Lcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher$Builder;??
"?[?
"?GLcom/groupbyinc/flux/common/ibm/icu/impl/locale/XLocaleMatcher$Builder;|(Ljava/util/LinkedHashSet;Lcom/groupbyinc/flux/common/ibm/icu/util/Output;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;r(Ljava/util/Set;Lcom/groupbyinc/flux/common/ibm/icu/util/Output;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;??
$?desiredLanguagesLLjava/util/LinkedHashSet;Ljava/util/LinkedHashSet;outputBestDesiredcLcom/groupbyinc/flux/common/ibm/icu/util/Output;0Lcom/groupbyinc/flux/common/ibm/icu/util/Output;j(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher;setFavorScript:(Z)Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher;favorScript
?giw?he?
?Nmo?ro?tl?fil?fg
?languageMatching?findTopLevelO(Ljava/lang/String;)Lcom/groupbyinc/flux/common/ibm/icu/impl/ICUResourceBundle;??
m?written?M(Ljava/lang/String;)Lcom/groupbyinc/flux/common/ibm/icu/util/UResourceBundle;??
m?
	ggetIteratorC()Lcom/groupbyinc/flux/common/ibm/icu/util/UResourceBundleIterator;??
m??com/groupbyinc/flux/common/ibm/icu/util/UResourceBundleIterator?
??;()Lcom/groupbyinc/flux/common/ibm/icu/util/UResourceBundle;??
??getSize?X
m?1?	getString(I)Ljava/lang/String;??
m?
?Tjava/lang/Integer?parseInt(Ljava/lang/String;)I??
??addDistances(Ljava/lang/String;Ljava/lang/String;IZ)Lcom/groupbyinc/flux/common/ibm/icu/util/LocaleMatcher$LanguageMatcherData;??
	?itemonewayiterALcom/groupbyinc/flux/common/ibm/icu/util/UResourceBundleIterator;
ConstantValue
DeprecatedRuntimeVisibleAnnotations	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable?(Ljava/lang/String;Lcom/groupbyinc/flux/common/ibm/icu/impl/Row$R3;)V?(Ljava/util/LinkedHashSet;Lcom/groupbyinc/flux/common/ibm/icu/util/Output;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;
SourceFileInnerClasses!/0?1??23456?794:6;<?=>??@ABCDEB
FG?H?IJ?K4?L0MN?A	*+?P?S??	TU	CD?
^_MV?D*+?Z?^?`??TUab?
ijMQ?L
*+,7?e?? 
TU
CD
AB?
u	v??2Mc???*?h*?jY?k?m*?oY?p?r*?t*?v*?x*,?	?P?,?|?~*+??+??:???????:*+???????*??+??:*??????????*)????>\?4?TU?CD?AB?:6u"???u"???B?]^_`$a)?;?@?\?h?k?o?u??????g?4)	?)		?
??$?!)	??)	????2???_
*?~+,-????4
TU
?4
?4
?4
?4????? o+??M??,????N+??:??????:+??:??????:-?
??,??Y-?,?-?????ð+??RoTUo?4j?b_?bY?b#L?b)F?b69?b?&	????#?)?6?D?m???D???????????????DD????????DD??	???????DD?????????DD???	???????DD??????????DD??????i
wI:9?Y??:+??:???F????:	*	??:
??+	????kg9(??
I
:?c9???(*????	*??:??\	8*?4
L?6.4?4	wTUw?Du?6r?4o?6e???>?????.?8?L?S?V?Z?b?e?n?t??:?)???A???
)????@*+?Z?^???TU?b?????;*+?Ӱ?TU?4??????@*+???^???TU??????2???S)??Y?????*???????*?m???????)TU??????*+?L*+?N9:-??:*?r??
:?u?:		???b	???:

???:
???:
???:
*+-?9
??k9??9:??????*????	*??:,?	,?????VF4`<4j2
v&?6??6LP
?TU?4? ??!4??6??4?"b(?#<?LP
(?#=?b

(-LV`jv?????? ?"?#?%?&?(?*?6	????
??e?	W???"*+?L+*+?,?'N-?*W*?m-?-W??*"TU"?4"?.?.?5678!9?f??	?*?~?2?8?L+???m+???M,?;??N,?>?
:*?m?:???6???:???:??:?A?
*-?E??Ƨ??*?m?L+???%+???M,???N-??:*,?E??ر?f
cF4j?bY$G-S?b8H?<#]IK?
F4??b?G?TU?*Y$G8H?H#]IJ?G?B?#@-A8BYCcDjEvF}H?I?K?L?M?N?O?P?;???2??
?9????	??*BC??/*?r+??
N-?*?r+?jY?kYN?OW-,?-W??*/TU/?b/G!P<?/G!P=?STU&W.[??&
??????+?R?U??R?+?VM,?,+?U?i+??N+??:+??:??Y??Y??-?Z?	\?-??^???Z?	`???^???Z?	b?????d?,??>$a?b*[?b0U?b?TU?4te4?2s
tvxy$z*{0|Tm??|????	???(?????00???????00????????00???????00????????00???????00???		fg?@ik?q?w?mK*??xy?
NR??2	?z?^?Y|?}M,*,*?+,+???? ~44?U?
[\??2???H
*??+,???? 
TU
?4
?4?o??2"????@*?t?7??L+*????W*?v?+*?v??W*?x?+????W*+???t*?t??0??@TU?&	stuvw$y+z3|;~??$"????d
*??+,???? 
TU
??
???
??
????????2!???H*+?v*?t*??TU94???
???2!???H*?x*?t*??TU?0???
???2?f?z???Y\?d?R??Y??????????W??????W??????W??K*???L+ƶ??mM?	Y?ʳP,??N-?љL-???m:?????ݶޙ?6?P?????ݸ???W????P?|W??>t=?y??0dP??ByxyJq?yUf?y?BA
-1$213>5B6J7U8_:k;tB?C?D?E?F? ?dmmm??+m@?"??Z	
	

@

	 	"$%	')%	+-.@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy