This site requires javascript.
Android Code Search
file:androidx/collection/FloatList.kt function:mutableFloatListOf
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/
FloatList.kt
content_copy
Preview
911:
912:
913:
914:
915:
916:
/** @return a new empty [MutableFloatList] with the default capacity. */
public
inline
fun
mutableFloatListOf
(): MutableFloatList = MutableFloatList()
/** @return a new [MutableFloatList] with [element1] as the only item in the list. */
public
fun
mutableFloatListOf
(element1: Float): MutableFloatList {
val
list = MutableFloatList(
1
)
921:
922:
923:
/** @return a new [MutableFloatList] with 2 elements, [element1] and [element2], in order. */
public
fun
mutableFloatListOf
(element1: Float, element2: Float): MutableFloatList {
val
list = MutableFloatList(
2
)
932:
933:
934:
*/
public
fun
mutableFloatListOf
(element1: Float, element2: Float, element3: Float): MutableFloatList {
val
list = MutableFloatList(
3
)
941:
942:
943:
/** @return a new [MutableFloatList] with the given elements, in order. */
public
inline
fun
mutableFloatListOf
(
vararg
elements: Float): MutableFloatList =
MutableFloatList(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