doc / ch.tutteli.atrium.logic.creating.typeutils.impl / DefaultIterableLikeToIterableTransformer

DefaultIterableLikeToIterableTransformer

class DefaultIterableLikeToIterableTransformer : IterableLikeToIterableTransformer (source)

Transforms Sequence and all Array types to Iterable.

following a more precise list:

Constructors

<init>

DefaultIterableLikeToIterableTransformer()

Transforms Sequence and all Array types to Iterable.

Functions

supportedTypes

fun supportedTypes(): List<String>

unsafeTransform

fun <T> unsafeTransform(iterableLike: IterableLike): Iterable<T>

Transforms the given IterableLike to an Iterable with an element type T.