Package org.cactoos.iterable
Class Solid<X>
- java.lang.Object
-
- org.cactoos.iterable.IterableEnvelope<X>
-
- org.cactoos.iterable.Solid<X>
-
- Type Parameters:
X
- Type of item
- All Implemented Interfaces:
Iterable<X>
public final class Solid<X> extends IterableEnvelope<X>
AnIterable
that is both synchronized and sticky.Objects of this class are thread-safe.
- Since:
- 0.24
-
-
Method Summary
-
Methods inherited from class org.cactoos.iterable.IterableEnvelope
equals, hashCode, iterator, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
Solid
@SafeVarargs public Solid(X... src)
Ctor.- Parameters:
src
- The underlying iterable
-
-