public static void composedRunnable(Collection<Runnable> runnables) {
        requireNonNullElements(runnables);
        final AutoCloseable[] closables = new AutoCloseable[runnables.size()];
        int i = 0;
        for (final Runnable r : runnables) {
            closables[i++] = new CloseImpl(r);
        }
        composedClose(closables);
    }
Given a number of Runnables, runs the run() method in sequence, even if
one or several throws an Exception. If several throw exceptions, the
exceptions will be added to the first exception.

@param runnables to close
@throws SpeedmentException if at least one of the run() operations throws
an exception
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/stream/ComposeRunnableUtil.java