doc / ch.tutteli.atrium.logic.creating.typeutils.impl / DefaultMapLikeToIterablePairTransformer / unsafeTransform

unsafeTransform

fun <K, V> unsafeTransform(mapLike: IterableLike): List<Pair<K, V>> (source)

Overrides MapLikeToIterablePairTransformer.unsafeTransform

Transforms the given mapLike to an Iterable<K, V>> where K represents the key type and V the value type.

Note that an unsafe cast applies, i.e. the caller has to know that the given types K and V are correct for all keys and values of the given mapLike.