Stay organized with collections
Save and categorize content based on your preferences.
EntryRange
open class EntryRange
A struct-like class used for iteration through ranges, for faster iteration than by String. Read about the restrictions on usage in UnicodeSet.ranges()
.
Summary
Public methods |
open String |
Returns a string representation of the object.
|
Properties |
Int |
The starting code point of the range.
|
Int |
The ending code point of the range
|
Public methods
toString
open fun toString(): String
Returns a string representation of the object.
Return |
String |
a string representation of the object. |
Properties
codepoint
var codepoint: Int
The starting code point of the range.
codepointEnd
var codepointEnd: Int
The ending code point of the range
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,["# UnicodeSet.EntryRange\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nEntryRange\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/text/UnicodeSet.EntryRange \"View this page in Java\") \n\n```\nopen class EntryRange\n```\n\n|---|---------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.icu.text.UnicodeSet.EntryRange](#) |\n\nA struct-like class used for iteration through ranges, for faster iteration than by String. Read about the restrictions on usage in [UnicodeSet.ranges()](/reference/kotlin/android/icu/text/UnicodeSet#ranges()).\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](#toString())`()` Returns a string representation of the object. |\n\n| Properties ||\n|----------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [codepoint](#codepoint:kotlin.Int) The starting code point of the range. |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [codepointEnd](#codepointEnd:kotlin.Int) The ending code point of the range |\n\nPublic methods\n--------------\n\n### toString\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun toString(): String\n```\n\nReturns a string representation of the object.\n\n| Return ||\n|----------------------------------------------------------------------------------|----------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of the object. |\n\nProperties\n----------\n\n### codepoint\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar codepoint: Int\n```\n\nThe starting code point of the range. \n\n### codepointEnd\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar codepointEnd: Int\n```\n\nThe ending code point of the range"]]