Documentation / dataflow / com.femastudios.dataflow.iterable / IterableSnapshot
Go to reference

IterableSnapshot

data class IterableSnapshot<T, C : Iterable<T>?, F>

This class contains the snapshot of an iterable.

In particular, you can access a snapshot of the elements via originalIterable, and you can access the value of each element via get.

Constructors

<init>

This class contains the snapshot of an iterable.

IterableSnapshot(originalIterable: C, snapshots: Map<T, F>)

Properties

originalIterable

The snapshot of the elements of the iterable

val originalIterable: C

Functions

get

Method to access the snapshot of an item.

operator fun get(item: T): F