boolean function ( Locale arg0 , Locale arg1 ) { if ( arg0 . equals ( arg1 ) ) { return true ; } else if ( ( ( "srini_string" . equals ( arg0 . getCountry ( ) ) ) || ( "srini_string" . equals ( arg1 . getCountry ( ) ) ) ) && arg0 . getLanguage ( ) . equals ( arg1 . getLanguage ( ) ) ) { return true ; } return false ; }
compatible is a looser matching than that provided by locale.equals . two locales are considered equal if they are equal , or if either does not have a country specified and the languages match . concode_field_sep Locale defaultLocaleCache concode_elem_sep Log log concode_elem_sep List<Locale> localesAllowedListCache concode_field_sep void setLocalesAllowedListCache concode_elem_sep void globalPropertyDeleted concode_elem_sep void setDefaultLocaleCache concode_elem_sep boolean supportsPropertyName concode_elem_sep Set<Locale> getLocalesInOrder concode_elem_sep Locale fromSpecification concode_elem_sep boolean isValid concode_elem_sep void globalPropertyChanged concode_elem_sep Locale getDefaultLocale