Stay organized with collections
Save and categorize content based on your preferences.
Collator.ReorderCodes
public
static
interface
Collator.ReorderCodes
android.icu.text.Collator.ReorderCodes
|
Reordering codes for non-script groups that can be reordered under collation.
Summary
Constants |
int |
CURRENCY
Characters with the currency property.
|
int |
DEFAULT
A special reordering code that is used to specify the default reordering codes for a locale.
|
int |
DIGIT
Characters with the digit property.
|
int |
FIRST
The first entry in the enumeration of reordering groups.
|
int |
NONE
A special reordering code that is used to specify no reordering codes.
|
int |
OTHERS
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.
|
int |
PUNCTUATION
Characters with the punctuation property.
|
int |
SPACE
Characters with the space property.
|
int |
SYMBOL
Characters with the symbol property.
|
Constants
CURRENCY
public static final int CURRENCY
Characters with the currency property.
This is equivalent to the rule value "currency".
Constant Value:
4099
(0x00001003)
DEFAULT
public static final int DEFAULT
A special reordering code that is used to specify the default reordering codes for a locale.
Constant Value:
-1
(0xffffffff)
DIGIT
public static final int DIGIT
Characters with the digit property.
This is equivalent to the rule value "digit".
Constant Value:
4100
(0x00001004)
FIRST
public static final int FIRST
The first entry in the enumeration of reordering groups. This is intended for use in
range checking and enumeration of the reorder codes.
Constant Value:
4096
(0x00001000)
NONE
public static final int NONE
A special reordering code that is used to specify no reordering codes.
Constant Value:
103
(0x00000067)
OTHERS
public static final int OTHERS
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.
Constant Value:
103
(0x00000067)
PUNCTUATION
public static final int PUNCTUATION
Characters with the punctuation property.
This is equivalent to the rule value "punct".
Constant Value:
4097
(0x00001001)
SPACE
public static final int SPACE
Characters with the space property.
This is equivalent to the rule value "space".
Constant Value:
4096
(0x00001000)
SYMBOL
public static final int SYMBOL
Characters with the symbol property.
This is equivalent to the rule value "symbol".
Constant Value:
4098
(0x00001002)
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](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nCollator.ReorderCodes\n=====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/icu/text/Collator.ReorderCodes \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nCollator.ReorderCodes\n`\n\n\n`\n\n\n`\n\n|----------------------------------------|\n| android.icu.text.Collator.ReorderCodes |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nReordering codes for non-script groups that can be reordered under collation. \n**See also:**\n\n- [Collator.getReorderCodes()](/reference/android/icu/text/Collator#getReorderCodes())\n- [Collator.setReorderCodes(int)](/reference/android/icu/text/Collator#setReorderCodes(int[]))\n- [Collator.getEquivalentReorderCodes(int)](/reference/android/icu/text/Collator#getEquivalentReorderCodes(int))\n\nSummary\n-------\n\n| ### Constants ||\n|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [CURRENCY](/reference/android/icu/text/Collator.ReorderCodes#CURRENCY) Characters with the currency property. |\n| `int` | [DEFAULT](/reference/android/icu/text/Collator.ReorderCodes#DEFAULT) A special reordering code that is used to specify the default reordering codes for a locale. |\n| `int` | [DIGIT](/reference/android/icu/text/Collator.ReorderCodes#DIGIT) Characters with the digit property. |\n| `int` | [FIRST](/reference/android/icu/text/Collator.ReorderCodes#FIRST) The first entry in the enumeration of reordering groups. |\n| `int` | [NONE](/reference/android/icu/text/Collator.ReorderCodes#NONE) A special reordering code that is used to specify no reordering codes. |\n| `int` | [OTHERS](/reference/android/icu/text/Collator.ReorderCodes#OTHERS) 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| `int` | [PUNCTUATION](/reference/android/icu/text/Collator.ReorderCodes#PUNCTUATION) Characters with the punctuation property. |\n| `int` | [SPACE](/reference/android/icu/text/Collator.ReorderCodes#SPACE) Characters with the space property. |\n| `int` | [SYMBOL](/reference/android/icu/text/Collator.ReorderCodes#SYMBOL) Characters with the symbol property. |\n\nConstants\n---------\n\n### CURRENCY\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int CURRENCY\n```\n\nCharacters with the currency property.\nThis is equivalent to the rule value \"currency\".\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4099\n(0x00001003)\n\n\n### DEFAULT\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int DEFAULT\n```\n\nA special reordering code that is used to specify the default reordering codes for a locale.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-1\n(0xffffffff)\n\n\n### DIGIT\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int DIGIT\n```\n\nCharacters with the digit property.\nThis is equivalent to the rule value \"digit\".\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4100\n(0x00001004)\n\n\n### FIRST\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int FIRST\n```\n\nThe first entry in the enumeration of reordering groups. This is intended for use in\nrange checking and enumeration of the reorder codes.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4096\n(0x00001000)\n\n\n### NONE\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int NONE\n```\n\nA special reordering code that is used to specify no reordering codes.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n103\n(0x00000067)\n\n\n### OTHERS\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int OTHERS\n```\n\nA special reordering code that is used to specify all other codes used for reordering except\nfor the codes listed as ReorderingCodes and those listed explicitly in a reordering.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n103\n(0x00000067)\n\n\n### PUNCTUATION\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int PUNCTUATION\n```\n\nCharacters with the punctuation property.\nThis is equivalent to the rule value \"punct\".\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4097\n(0x00001001)\n\n\n### SPACE\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int SPACE\n```\n\nCharacters with the space property.\nThis is equivalent to the rule value \"space\".\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4096\n(0x00001000)\n\n\n### SYMBOL\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int SYMBOL\n```\n\nCharacters with the symbol property.\nThis is equivalent to the rule value \"symbol\".\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4098\n(0x00001002)"]]