private UnicodeSet getEquivalentDecimals ( String decimal , boolean strictParse ) { UnicodeSet equivSet = UnicodeSet . EMPTY ; if ( strictParse ) { if ( strictDotEquivalents . contains ( decimal ) ) { equivSet = strictDotEquivalents ; } else if ( strictCommaEquivalents . contains ( decimal ) ) { equivSet = strictCommaEquivalents ; } } else { if ( dotEquivalents . contains ( decimal ) ) { equivSet = dotEquivalents ; } else if ( commaEquivalents . contains ( decimal ) ) { equivSet = commaEquivalents ; } } return equivSet ; }
Returns a set of characters equivalent to the given desimal separator used for parsing number . This method may return an empty set .