Searched refs:rules (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/text/
H A DRuleBasedCollator.java37 * A rule chain consists of a reset followed by one or more rules.
38 * The reset anchors the following rules in the default sort order.
39 * The rules change the order of the their characters and strings
48 * <p>For example, the following rules
85 * specified {@code rules}. (See the {@link RuleBasedCollator class description}.)
87 * Note that the {@code rules} are interpreted as a delta to the
89 * from other implementations which work with full {@code rules}
92 * @param rules
93 * the collation rules.
95 * if {@code rules
100 RuleBasedCollator(String rules) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DRuleBasedCollatorICU.java47 public RuleBasedCollatorICU(String rules) throws ParseException { argument
48 if (rules == null) {
49 throw new NullPointerException("rules == null");
51 address = NativeCollation.openCollatorFromRules(rules, VALUE_OFF, VALUE_DEFAULT_STRENGTH);
H A DNativeCollation.java35 public static native long openCollatorFromRules(String rules, int normalizationMode, int collationStrength); argument
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeCollation.cpp147 const UChar* rules = ucol_getRules(toCollator(address), &length); local
148 return env->NewString(rules, length);
196 ScopedStringChars rules(env, javaRules);
197 if (rules.get() == NULL) {
201 UCollator* c = ucol_openRules(rules.get(), rules.size(),

Completed in 93 milliseconds