This site requires javascript.
Android Code Search
file:androidx/collection/ObjectIntMap.kt function:objectIntMap
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
collection/collection/src/commonMain/kotlin/androidx/collection/
ObjectIntMap.kt
content_copy
Preview
47:
48:
49:
@Suppress(
"UNCHECKED_CAST"
)
public
fun
<K> empty
ObjectIntMap
(): ObjectIntMap<K> = EmptyObjectIntMap
as
ObjectIntMap<K>
51:
52:
53:
54:
55:
56:
@Suppress(
"UNCHECKED_CAST"
)
public
fun
<K>
objectIntMap
(): ObjectIntMap<K> = EmptyObjectIntMap
as
ObjectIntMap<K>
/** Returns a new [ObjectIntMap] with only [key1] associated with [value1]. */
public
fun
<K>
objectIntMap
Of(key1: K, value1: Int): ObjectIntMap<K> =
MutableObjectIntMap<K>().also { map -> map[key1] = value1 }
61:
62:
63:
*/
public
fun
<K>
objectIntMap
Of(
key1: K,
76:
77:
78:
*/
public
fun
<K>
objectIntMap
Of(
key1: K,
94:
95:
96:
*/
public
fun
<K>
objectIntMap
Of(
key1: K,
115:
116:
117:
*/
public
fun
<K>
objectIntMap
Of(
key1: K,
136:
137:
138:
/** Returns a new empty [MutableObjectIntMap]. */
public
fun
<K> mutable
ObjectIntMap
Of(): MutableObjectIntMap<K> = MutableObjectIntMap()
231:
232:
233:
*/
public
inline
fun
<K> build
ObjectIntMap
(
builderAction: MutableObjectIntMap<K>.() -> Unit,
248:
249:
250:
*/
public
inline
fun
<K> build
ObjectIntMap
(
initialCapacity: Int,
unfold_more
Show 5 more matching lines
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main