public static <T, P> void forEachWith(List<T> list, Procedure2<? super T, ? super P> procedure, P parameter)
    {
        if (list instanceof RandomAccess)
        {
            RandomAccessListIterate.forEachWith(list, procedure, parameter);
        }
        else
        {
            IterableIterate.forEachWith(list, procedure, parameter);
        }
    }
public static < T , P > void forEachWith ( List < T > list , Procedure2 < ? super T , ? super P > procedure , P parameter ) { if ( list instanceof RandomAccess ) { RandomAccessListIterate . forEachWith ( list , procedure , parameter ) ; } else { IterableIterate . forEachWith ( list , procedure , parameter ) ; } }
@see Iterate#forEachWith(Iterable, Procedure2, Object)