Home | History | Annotate | Download | only in text

Lines Matching refs:strength

272      * @param strength collation strength
282 public RuleBasedCollator(String rules, int strength) throws ParseException {
286 m_collator_ = NativeCollation.openCollatorFromRules(rules, CollationAttribute.VALUE_OFF, strength);
300 * @param strength collation strength
312 public RuleBasedCollator(String rules, int normalizationMode, int strength) {
316 m_collator_ = NativeCollation.openCollatorFromRules(rules, normalizationMode, strength);
380 * Determines the minimum strength that will be use in comparison or
383 * E.g. with strength == CollationAttribute.VALUE_SECONDARY, the tertiary difference
387 * E.g. with strength == PRIMARY, the secondary and tertiary difference are
399 return NativeCollation.getAttribute(m_collator_, CollationAttribute.STRENGTH);
403 * Sets the minimum strength to be used in comparison or transformation.
413 * @param strength the new comparison level.
414 * @exception IllegalArgumentException when argument does not belong to any collation strength
423 public void setStrength(int strength) {
424 NativeCollation.setAttribute(m_collator_, CollationAttribute.STRENGTH, strength);