Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterable / SyncIterable / <init>

<init>

SyncIterable(origin: Iterable<X>) SyncIterable(vararg src: X)SyncIterable(origin: Iterable<X>, lock: Any)

Synchronized iterable.

Objects of this class are thread-safe.

Parameters

X - Type of item.

origin - The iterable synchronize access to.

lock - The lock to synchronize with.

Since 0.4

See Also

StickyIterable

SolidIterable