public interface XIterable<E>
| Modifier and Type | Interface and Description |
|---|---|
static class |
XIterable.Executor<E>
Wrapper class that implements
XIterable to wrap a subject of type E that procedures shall be
executed on. |
| Modifier and Type | Method and Description |
|---|---|
<P extends Consumer<? super E>> |
iterate(P procedure)
Executes the given procedure for each element of the
XIterable
until all elements have been processed or the action throws an
exception. |
<P extends Consumer<? super E>> P iterate(P procedure)
XIterable
until all elements have been processed or the action throws an
exception. Unless otherwise specified by the implementing class,
procedures are performed in the order of iteration (if an iteration order
is specified). Exceptions thrown by the procedure are relayed to the
caller.Iterable.forEach(Consumer).P - type of procedureprocedure - The procedure to be performed for each elementCopyright © 2022 MicroStream Software. All rights reserved.