public static <T, IV> IV injectInto(
            IV injectValue,
            T[] objectArray,
            Function2<? super IV, ? super T, ? extends IV> function)
    {
        if (objectArray == null)
        {
            throw new IllegalArgumentException("Cannot perform an injectInto on null");
        }
        IV result = injectValue;
        for (T each : objectArray)
        {
            result = function.value(result, each);
        }
        return result;
    }
public static < T , IV > IV injectInto ( IV injectValue , T [ ] objectArray , Function2 < ? super IV , ? super T , ? extends IV > function ) { if ( objectArray == null ) { throw new IllegalArgumentException ( "Cannot perform an injectInto on null" ) ; } IV result = injectValue ; for ( T each : objectArray ) { result = function . value ( result , each ) ; } return result ; }
@see Iterate#injectInto(Object, Iterable, Function2)