Stay organized with collections
Save and categorize content based on your preferences.
MutableInt
class MutableInt
Summary
Public constructors
MutableInt
MutableInt(value: Int)
Properties
value
var value: Int
Deprecated: Deprecated in Java.
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# MutableInt\n\nAdded in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nMutableInt\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/util/MutableInt \"View this page in Java\") \n\n```\nclass MutableInt\n```\n\n|---|------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.util.MutableInt](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 28.**\n|\n| This class will be removed from a future version of the Android API.\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------|---|\n| [MutableInt](#MutableInt(kotlin.Int))`(`value:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` \u003cbr /\u003e |\n\n| Properties ||\n|----------------------------------------------------------------------------|-----------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [value](#value:kotlin.Int) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### MutableInt\n\nAdded in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nMutableInt(value: Int)\n```\n\nProperties\n----------\n\n### value\n\nAdded in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar value: Int\n```\n\n**Deprecated:** *Deprecated in Java.*"]]