Home | History | Annotate | Download | only in unicode

Lines Matching defs:CollationKey

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,
122 CollationKey(const CollationKey& other);
128 virtual ~CollationKey();
135 const CollationKey& operator=(const CollationKey& other);
143 UBool operator==(const CollationKey& source) const;
151 UBool operator!=(const CollationKey& source) const;
193 Collator::EComparisonResult compareTo(const CollationKey& target) const;
205 UCollationResult compareTo(const CollationKey& target, UErrorCode &status) const;
215 * . CollationKey key1, key2;
256 * If this CollationKey has capacity less than newSize,
258 * @param newSize minimum size this CollationKey has to have
259 * @return this CollationKey
261 CollationKey& ensureCapacity(int32_t newSize);
263 * Set the CollationKey to a "bogus" or invalid state
264 * @return this CollationKey
266 CollationKey& setToBogus(void);
268 * Resets this CollationKey to an empty state
269 * @return this CollationKey
271 CollationKey& reset(void);
291 * Unique hash value of this CollationKey
302 CollationKey::operator!=(const CollationKey& other) const
308 CollationKey::isBogus() const
314 CollationKey::getByteArray(int32_t &count) const