public double match ( ULocale desired , ULocale desiredMax , ULocale supported , ULocale supportedMax ) { return matcherData . match ( desired , desiredMax , supported , supportedMax ) ; }
Returns a fraction between 0 and 1 where 1 means that the languages are a perfect match and 0 means that they are completely different . Note that the precise values may change over time ; no code should be made dependent on the values remaining constant .