| OLD | NEW |
| 1 /* | 1 /* |
| 2 ***************************************************************************** | 2 ***************************************************************************** |
| 3 * Copyright (C) 1996-2013, International Business Machines Corporation and othe
rs. | 3 * Copyright (C) 1996-2014, International Business Machines Corporation and othe
rs. |
| 4 * All Rights Reserved. | 4 * All Rights Reserved. |
| 5 ***************************************************************************** | 5 ***************************************************************************** |
| 6 * | 6 * |
| 7 * File sortkey.h | 7 * File sortkey.h |
| 8 * | 8 * |
| 9 * Created by: Helena Shih | 9 * Created by: Helena Shih |
| 10 * | 10 * |
| 11 * Modification History: | 11 * Modification History: |
| 12 * | 12 * |
| 13 * Date Name Description | 13 * Date Name Description |
| (...skipping 17 matching lines...) Expand all Loading... |
| 31 #if !UCONFIG_NO_COLLATION | 31 #if !UCONFIG_NO_COLLATION |
| 32 | 32 |
| 33 #include "unicode/uobject.h" | 33 #include "unicode/uobject.h" |
| 34 #include "unicode/unistr.h" | 34 #include "unicode/unistr.h" |
| 35 #include "unicode/coll.h" | 35 #include "unicode/coll.h" |
| 36 | 36 |
| 37 U_NAMESPACE_BEGIN | 37 U_NAMESPACE_BEGIN |
| 38 | 38 |
| 39 /* forward declaration */ | 39 /* forward declaration */ |
| 40 class RuleBasedCollator; | 40 class RuleBasedCollator; |
| 41 class CollationKeyByteSink; |
| 41 | 42 |
| 42 /** | 43 /** |
| 43 * | 44 * |
| 44 * Collation keys are generated by the Collator class. Use the CollationKey obj
ects | 45 * Collation keys are generated by the Collator class. Use the CollationKey obj
ects |
| 45 * instead of Collator to compare strings multiple times. A CollationKey | 46 * instead of Collator to compare strings multiple times. A CollationKey |
| 46 * preprocesses the comparison information from the Collator object to | 47 * preprocesses the comparison information from the Collator object to |
| 47 * make the comparison faster. If you are not going to comparing strings | 48 * make the comparison faster. If you are not going to comparing strings |
| 48 * multiple times, then using the Collator object is generally faster, | 49 * multiple times, then using the Collator object is generally faster, |
| 49 * since it only processes as much of the string as needed to make a | 50 * since it only processes as much of the string as needed to make a |
| 50 * comparison. | 51 * comparison. |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 { | 329 { |
| 329 count = getLength(); | 330 count = getLength(); |
| 330 return getBytes(); | 331 return getBytes(); |
| 331 } | 332 } |
| 332 | 333 |
| 333 U_NAMESPACE_END | 334 U_NAMESPACE_END |
| 334 | 335 |
| 335 #endif /* #if !UCONFIG_NO_COLLATION */ | 336 #endif /* #if !UCONFIG_NO_COLLATION */ |
| 336 | 337 |
| 337 #endif | 338 #endif |
| OLD | NEW |