kactoos-jvm / nnl.rocks.kactoos.iterable / SyncIterable
class SyncIterable<out X :
Any
> :
Iterable
<
X
>
Synchronized iterable.
Objects of this class are thread-safe.
X
- Type of item.
origin
- The iterable synchronize access to.
lock
- The lock to synchronize with.
Since 0.4
See Also
Name | Summary |
---|---|
<init> | SyncIterable(origin: Iterable < X >) SyncIterable(vararg src: X ) SyncIterable(origin: Iterable < X >, lock: Any ) Synchronized iterable. |
Name | Summary |
---|---|
iterator | fun iterator(): Iterator < X > |