Stay organized with collections
Save and categorize content based on your preferences.
BoundMode
class BoundMode
Options that used in the API CollationKey.getBound() for getting a CollationKey based on the bound mode requested.
Summary
Constants |
static Int |
Lower bound
|
static Int |
Upper bound that will match strings of exact size
|
static Int |
Upper bound that will match all the strings that have the same initial substring as the given string
|
Constants
LOWER
static val LOWER: Int
Lower bound
Value: 0
UPPER
static val UPPER: Int
Upper bound that will match strings of exact size
Value: 1
UPPER_LONG
static val UPPER_LONG: Int
Upper bound that will match all the strings that have the same initial substring as the given string
Value: 2
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,["# CollationKey.BoundMode\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBoundMode\n=========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/text/CollationKey.BoundMode \"View this page in Java\") \n\n```\nclass BoundMode\n```\n\n|---|----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.icu.text.CollationKey.BoundMode](#) |\n\nOptions that used in the API CollationKey.getBound() for getting a CollationKey based on the bound mode requested.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LOWER](#LOWER:kotlin.Int) Lower bound |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [UPPER](#UPPER:kotlin.Int) Upper bound that will match strings of exact size |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [UPPER_LONG](#UPPER_LONG:kotlin.Int) Upper bound that will match all the strings that have the same initial substring as the given string |\n\nConstants\n---------\n\n### LOWER\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LOWER: Int\n```\n\nLower bound \n\n Value: 0\n\n### UPPER\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val UPPER: Int\n```\n\nUpper bound that will match strings of exact size \n\n Value: 1\n\n### UPPER_LONG\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val UPPER_LONG: Int\n```\n\nUpper bound that will match all the strings that have the same initial substring as the given string \n\n Value: 2"]]