sdk-common / com.tomtom.online.sdk.common.functional.collections / Lists / fromIterable

fromIterable

static fun <B : Any!> fromIterable(@NonNull iterable: MutableIterable<B>): MutableList<B>!

Creates a list from a given Iterable. If the Iterable is empty then the resulting List will be empty.

Parameters

iterable - MutableIterable<B>: iterable from which the list will be created

- value/result type

Return
MutableList<B>!: created list