X
- Type of itempublic final class SyncIterable<X> extends IterableEnvelope<X>
This class should be used very carefully. You must understand that
it will fetch the entire content of the encapsulated Iterable
on each
method call. It doesn't cache the data anyhow. If you don't
need this Iterable
to re-fresh
its content on every call, by doing round-trips to
the encapsulated iterable, use StickyIterable
.
Objects of this class are thread-safe.
Constructor and Description |
---|
SyncIterable(Iterable<X> iterable)
Ctor.
|
SyncIterable(X... src)
Ctor.
|
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@SafeVarargs public SyncIterable(X... src)
src
- The underlying iterableCopyright © 2017 Cactoos. All rights reserved.