/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 | 372 * multiple times, it is more efficient to generate {@code CollationKey} 374 * {@code CollationKey.compareTo(CollationKey)} for the comparisons. If each 397 * Returns the {@code CollationKey} for the given source text. 401 * @return the {@code CollationKey} for the given source text. 404 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/icu4c/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 507 * with CollationKey::compareTo. It is not possible to restore the original 510 * <p>Use CollationKey::equals or CollationKey::compare to compare the 517 * @see CollationKey#compare 520 virtual CollationKey& getCollationKey(const UnicodeString& source, 521 CollationKey& key, 526 * with CollationKey::compareTo. It is not possible to restore the origina [all...] |
tblcoll.h | 332 * that can be compared with CollationKey.compare. Use a CollationKey when 339 * @see CollationKey 342 virtual CollationKey& getCollationKey(const UnicodeString& source, 343 CollationKey& key, 348 * that can be compared with CollationKey.compare. Use a CollationKey when 356 * @see CollationKey 359 virtual CollationKey& getCollationKey(const UChar *source, 361 CollationKey& key [all...] |
/external/icu4c/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...] |
tblcoll.cpp | 402 CollationKey& RuleBasedCollator::getCollationKey( 404 CollationKey& sortkey, 410 CollationKey& RuleBasedCollator::getCollationKey(const UChar* source, 412 CollationKey& sortkey,
|
/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,
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/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; 43 CollationKey ck = rbc.getCollationKey(source); 105 CollationKey key1 = coll.getCollationKey(source); 108 CollationKey key2 = coll.getCollationKey(source2); 258 // Test CollationKey 262 CollationKey key = coll.getCollationKey(text); 265 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/icu4c/test/intltest/ |
tscoll.h | 38 CollationKey &sourceKey, CollationKey &targetKey, 44 static UnicodeString &prettify(const CollationKey &source, UnicodeString &target);
|
thcoll.cpp | 168 CollationKey k1, k2; 287 CollationKey k1, k2; 300 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;
|