HomeSort by relevance Sort by last modified time
    Searched refs:CollationKey (Results 1 - 25 of 61) sorted by null

1 2 3

  /libcore/luni/src/main/java/java/text/
CollationKey.java 22 * Comparing two {@code CollationKey} instances returns the relative order of
30 * Both the method {@code CollationKey.compareTo(CollationKey)} and the method
35 * During the construction of a {@code CollationKey}, the entire source string
37 * are stored in the {@code CollationKey}. When
38 * {@code CollationKey.compareTo(CollationKey)} executes, it performs bitwise
40 * the {@code CollationKey}, but once the key is created, binary comparisons
56 * CollationKey[] keys = new CollationKey[3]
    [all...]
RuleBasedCollator.java 197 * Returns the {@code CollationKey} for the given source text.
201 * @return the {@code CollationKey} for the given source text.
204 public CollationKey getCollationKey(String source) {
  /external/chromium_org/third_party/icu/source/i18n/unicode/
sortkey.h 44 * Collation keys are generated by the Collator class. Use the CollationKey objects
45 * instead of Collator to compare strings multiple times. A CollationKey
57 * <p>Typical use of CollationKeys are in databases, where you store a CollationKey
65 * CollationKey* keys = new CollationKey [3];
71 * CollationKey tmp;
80 * You can then cache the collation keys and compare them using CollationKey::compareTo().
96 class U_I18N_API CollationKey : public UObject {
105 CollationKey();
114 CollationKey(const uint8_t* values
    [all...]
coll.h 79 class CollationKey;
156 * An older set of APIs returns a <code>CollationKey</code> object that wraps
170 * @see CollationKey
476 * with CollationKey::compareTo. It is not possible to restore the original
479 * <p>Use CollationKey::equals or CollationKey::compare to compare the
486 * @see CollationKey#compare
489 virtual CollationKey& getCollationKey(const UnicodeString& source,
490 CollationKey& key,
495 * with CollationKey::compareTo. It is not possible to restore the origina
    [all...]
tblcoll.h 408 * that can be compared with CollationKey.compare. Use a CollationKey when
415 * @see CollationKey
418 virtual CollationKey& getCollationKey(const UnicodeString& source,
419 CollationKey& key,
424 * that can be compared with CollationKey.compare. Use a CollationKey when
432 * @see CollationKey
435 virtual CollationKey& getCollationKey(const UChar *source,
437 CollationKey& key
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
sortkey.h 45 * Collation keys are generated by the Collator class. Use the CollationKey objects
46 * instead of Collator to compare strings multiple times. A CollationKey
58 * <p>Typical use of CollationKeys are in databases, where you store a CollationKey
66 * CollationKey* keys = new CollationKey [3];
72 * CollationKey tmp;
81 * You can then cache the collation keys and compare them using CollationKey::compareTo().
97 class U_I18N_API CollationKey : public UObject {
106 CollationKey();
115 CollationKey(const uint8_t* values
    [all...]
coll.h 80 class CollationKey;
152 * Another set of APIs returns a <code>CollationKey</code> object that wraps
164 * @see CollationKey
484 * with CollationKey::compareTo. It is not possible to restore the original
487 * <p>Use CollationKey::equals or CollationKey::compare to compare the
494 * @see CollationKey#compare
497 virtual CollationKey& getCollationKey(const UnicodeString& source,
498 CollationKey& key,
503 * with CollationKey::compareTo. It is not possible to restore the origina
    [all...]
tblcoll.h 85 class CollationKey;
346 * that can be compared with CollationKey.compare. Use a CollationKey when
353 * @see CollationKey
356 virtual CollationKey& getCollationKey(const UnicodeString& source,
357 CollationKey& key,
362 * that can be compared with CollationKey.compare. Use a CollationKey when
370 * @see CollationKey
373 virtual CollationKey& getCollationKey(const UChar *source
    [all...]
  /external/icu/icu4c/source/i18n/
sortkey.cpp 49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationKey)
51 CollationKey::CollationKey()
58 CollationKey::CollationKey(const uint8_t* newValues, int32_t count)
73 CollationKey::CollationKey(const CollationKey& other)
94 CollationKey::~CollationKey()
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
sortkey.cpp 46 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationKey)
48 CollationKey::CollationKey()
55 CollationKey::CollationKey(const uint8_t* newValues, int32_t count)
70 CollationKey::CollationKey(const CollationKey& other)
94 CollationKey::~CollationKey()
    [all...]
tblcoll.cpp 442 CollationKey& RuleBasedCollator::getCollationKey(
444 CollationKey& sortkey,
450 CollationKey& RuleBasedCollator::getCollationKey(const UChar* source,
452 CollationKey& sortkey,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
CollationKeyTest.java 19 import java.text.CollationKey;
28 * @tests java.text.CollationKey#compareTo(java.text.CollationKey)
33 CollationKey key1 = collator.getCollationKey("abc");
34 CollationKey key2 = collator.getCollationKey("ABC");
39 * @tests java.text.CollationKey#compareTo(java.lang.Object)
43 // java.text.CollationKey.compareTo(java.lang.Object)
46 CollationKey key1 = collator.getCollationKey("abc");
47 CollationKey key2 = collator.getCollationKey("ABC");
52 * @tests java.text.CollationKey#equals(java.lang.Object
    [all...]
RuleBasedCollatorTest.java 22 import java.text.CollationKey;
38 CollationKey ck = rbc.getCollationKey(source);
91 CollationKey key1 = coll.getCollationKey(source);
94 CollationKey key2 = coll.getCollationKey(source2);
223 // Test CollationKey
227 CollationKey key = coll.getCollationKey(text);
230 CollationKey key2 = coll.getCollationKey("abc");
  /libcore/luni/src/main/java/libcore/icu/
CollationKeyICU.java 13 import java.text.CollationKey;
16 * A concrete implementation of the abstract java.text.CollationKey.
18 public final class CollationKeyICU extends CollationKey {
34 @Override public int compareTo(CollationKey other) {
78 if (!(object instanceof CollationKey)) {
81 return compareTo((CollationKey) object) == 0;
85 * Creates a hash code for this CollationKey.
RuleBasedCollatorICU.java 14 import java.text.CollationKey;
94 public CollationKey getCollationKey(String source) {
  /external/chromium_org/third_party/icu/source/test/intltest/
tscoll.h 38 CollationKey &sourceKey, CollationKey &targetKey,
44 static UnicodeString &prettify(const CollationKey &source, UnicodeString &target);
thcoll.cpp 169 CollationKey k1, k2;
288 CollationKey k1, k2;
301 CollationKey k1, k2;
currcoll.cpp 116 CollationKey sourceKey, targetKey;
123 errln("Couldn't get collationKey for source");
131 errln("Couldn't get collationKey for target");
tscoll.cpp 148 CollationKey srckey, tgtkey;
283 CollationKey &sourceKey, CollationKey &targetKey,
378 // Produce a printable representation of a CollationKey
379 UnicodeString &IntlTestCollator::prettify(const CollationKey &source, UnicodeString &target)
  /external/icu/icu4c/source/test/intltest/
tscoll.h 38 CollationKey &sourceKey, CollationKey &targetKey,
44 static UnicodeString &prettify(const CollationKey &source, UnicodeString &target);
apicoll.cpp 476 CollationKey sortk1, sortk2, sortk3;
490 // CollationKey -- Tests the CollationKey methods
495 logln("testing CollationKey begins...");
506 CollationKey sortk1, sortk2;
513 CollationKey sortkNone;
518 CollationKey sortkEmpty;
530 CollationKey sortkIgnorable;
558 CollationKey sortk3(sortk2), sortkNew;
589 CollationKey sortk4(byteArray1, cnt1), sortk5(byteArray2, cnt2)
    [all...]
thcoll.cpp 169 CollationKey k1, k2;
288 CollationKey k1, k2;
301 CollationKey k1, k2;
  /libcore/luni/src/test/java/libcore/java/text/
OldCollationKeyTest.java 19 import java.text.CollationKey;
28 // Test for method byte [] java.text.CollationKey.toByteArray()
31 CollationKey key1 = collator.getCollationKey("abc");
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameNormalizer.java 21 import java.text.CollationKey;
78 CollationKey key = getCompressingCollator().getCollationKey(lettersAndDigitsOnly(name));
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
NodeSorter.java 23 import java.text.CollationKey;
199 CollationKey n1String, n2String;
203 n1String = (CollationKey) n1.m_key1Value;
204 n2String = (CollationKey) n2.m_key1Value;
208 n1String = (CollationKey) n1.m_key2Value;
209 n2String = (CollationKey) n2.m_key2Value;

Completed in 3604 milliseconds

1 2 3