doc / ch.tutteli.atrium.logic.creating.typeutils / IterableLikeToIterableTransformer

IterableLikeToIterableTransformer

interface IterableLikeToIterableTransformer (source)

Functions

supportedTypes

abstract fun supportedTypes(): List<String>

unsafeTransform

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

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

Inheritors

DefaultIterableLikeToIterableTransformer

class DefaultIterableLikeToIterableTransformer : IterableLikeToIterableTransformer

Transforms Sequence and all Array types to Iterable.