Stay organized with collections
Save and categorize content based on your preferences.
ReorderCodes
interface ReorderCodes
Reordering codes for non-script groups that can be reordered under collation.
Summary
Constants |
static Int |
Characters with the currency property.
|
static Int |
A special reordering code that is used to specify the default reordering codes for a locale.
|
static Int |
Characters with the digit property.
|
static Int |
The first entry in the enumeration of reordering groups.
|
static Int |
A special reordering code that is used to specify no reordering codes.
|
static Int |
A special reordering code that is used to specify all other codes used for reordering except for the codes listed as ReorderingCodes and those listed explicitly in a reordering.
|
static Int |
Characters with the punctuation property.
|
static Int |
Characters with the space property.
|
static Int |
Characters with the symbol property.
|
Constants
CURRENCY
static val CURRENCY: Int
Characters with the currency property. This is equivalent to the rule value "currency".
Value: 4099
DEFAULT
static val DEFAULT: Int
A special reordering code that is used to specify the default reordering codes for a locale.
Value: -1
DIGIT
static val DIGIT: Int
Characters with the digit property. This is equivalent to the rule value "digit".
Value: 4100
FIRST
static val FIRST: Int
The first entry in the enumeration of reordering groups. This is intended for use in range checking and enumeration of the reorder codes.
Value: 4096
NONE
static val NONE: Int
A special reordering code that is used to specify no reordering codes.
Value: 103
OTHERS
static val OTHERS: Int
A special reordering code that is used to specify all other codes used for reordering except for the codes listed as ReorderingCodes and those listed explicitly in a reordering.
Value: 103
PUNCTUATION
static val PUNCTUATION: Int
Characters with the punctuation property. This is equivalent to the rule value "punct".
Value: 4097
SPACE
static val SPACE: Int
Characters with the space property. This is equivalent to the rule value "space".
Value: 4096
SYMBOL
static val SYMBOL: Int
Characters with the symbol property. This is equivalent to the rule value "symbol".
Value: 4098
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Collator.ReorderCodes\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nReorderCodes\n============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/text/Collator.ReorderCodes \"View this page in Java\") \n\n```\ninterface ReorderCodes\n```\n\n|---------------------------------------------|\n| [android.icu.text.Collator.ReorderCodes](#) |\n\nReordering codes for non-script groups that can be reordered under collation.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CURRENCY](#CURRENCY:kotlin.Int) Characters with the currency property. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DEFAULT](#DEFAULT:kotlin.Int) A special reordering code that is used to specify the default reordering codes for a locale. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DIGIT](#DIGIT:kotlin.Int) Characters with the digit property. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [FIRST](#FIRST:kotlin.Int) The first entry in the enumeration of reordering groups. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [NONE](#NONE:kotlin.Int) A special reordering code that is used to specify no reordering codes. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [OTHERS](#OTHERS:kotlin.Int) A special reordering code that is used to specify all other codes used for reordering except for the codes listed as ReorderingCodes and those listed explicitly in a reordering. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PUNCTUATION](#PUNCTUATION:kotlin.Int) Characters with the punctuation property. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SPACE](#SPACE:kotlin.Int) Characters with the space property. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SYMBOL](#SYMBOL:kotlin.Int) Characters with the symbol property. |\n\nConstants\n---------\n\n### CURRENCY\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CURRENCY: Int\n```\n\nCharacters with the currency property. This is equivalent to the rule value \"currency\". \n\n Value: 4099\n\n### DEFAULT\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DEFAULT: Int\n```\n\nA special reordering code that is used to specify the default reordering codes for a locale. \n\n Value: -1\n\n### DIGIT\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DIGIT: Int\n```\n\nCharacters with the digit property. This is equivalent to the rule value \"digit\". \n\n Value: 4100\n\n### FIRST\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val FIRST: Int\n```\n\nThe first entry in the enumeration of reordering groups. This is intended for use in range checking and enumeration of the reorder codes. \n\n Value: 4096\n\n### NONE\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NONE: Int\n```\n\nA special reordering code that is used to specify no reordering codes. \n\n Value: 103\n\n### OTHERS\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val OTHERS: Int\n```\n\nA special reordering code that is used to specify all other codes used for reordering except for the codes listed as ReorderingCodes and those listed explicitly in a reordering. \n\n Value: 103\n\n### PUNCTUATION\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PUNCTUATION: Int\n```\n\nCharacters with the punctuation property. This is equivalent to the rule value \"punct\". \n\n Value: 4097\n\n### SPACE\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SPACE: Int\n```\n\nCharacters with the space property. This is equivalent to the rule value \"space\". \n\n Value: 4096\n\n### SYMBOL\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYMBOL: Int\n```\n\nCharacters with the symbol property. This is equivalent to the rule value \"symbol\". \n\n Value: 4098"]]