-
Notifications
You must be signed in to change notification settings - Fork 12
Lists
zvozin edited this page Apr 13, 2017
·
3 revisions
An ad-hoc Javaslang list can be created as follows:
val list = list(1, 2, 3)
A Javaslang list can be converted to a Kotlin MutableList
:
val mutableList = list(1, 2, 3).toMutableList()
A Kotlin Iterable
can be converted to a Javaslang List
:
val jsList = listOf(1, 2, 3).toJsList()
JΛVΛSLΛNG, (C) 2014 - 2017 javaslang.io