This site requires javascript.
Android Code Search
file:androidx/collection/DoubleList.kt function:mutableDoubleListOf
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/
DoubleList.kt
content_copy
Preview
914:
915:
916:
917:
918:
919:
/** @return a new empty [MutableDoubleList] with the default capacity. */
public
inline
fun
mutableDoubleListOf
(): MutableDoubleList = MutableDoubleList()
/** @return a new [MutableDoubleList] with [element1] as the only item in the list. */
public
fun
mutableDoubleListOf
(element1: Double): MutableDoubleList {
val
list = MutableDoubleList(
1
)
924:
925:
926:
/** @return a new [MutableDoubleList] with 2 elements, [element1] and [element2], in order. */
public
fun
mutableDoubleListOf
(element1: Double, element2: Double): MutableDoubleList {
val
list = MutableDoubleList(
2
)
935:
936:
937:
*/
public
fun
mutableDoubleListOf
(
element1: Double,
948:
949:
950:
/** @return a new [MutableDoubleList] with the given elements, in order. */
public
inline
fun
mutableDoubleListOf
(
vararg
elements: Double): MutableDoubleList =
MutableDoubleList(elements.size).apply { plusAssign(elements) }
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