public static <T> void forEachWithIndex(
            Iterable<T> iterable,
            ObjectIntProcedure<? super T> procedure)
    {
        FJIterate.forEachWithIndex(iterable, procedure, FJIterate.FORK_JOIN_POOL);
    }
public static < T > void forEachWithIndex ( Iterable < T > iterable , ObjectIntProcedure < ? super T > procedure ) { FJIterate . forEachWithIndex ( iterable , procedure , FJIterate . FORK_JOIN_POOL ) ; }
Iterate over the collection specified, in parallel batches using default runtime parameter values.  The
{@code ObjectIntProcedure} used must be stateless, or use concurrent aware objects if they are to be shared.
<p>
e.g.
<pre>
{@code final ConcurrentMutableMap<Integer, Object> chm = new ConcurrentHashMap<Integer, Object>();}
FJIterate.<b>forEachWithIndex</b>(collection, new ObjectIntProcedure()
{
public void value(Object object, int index)
{
chm.put(index, object);
}
});
</pre>