public static <T, V> ObjectDoubleMap<V> sumByFloat(Iterable<T> iterable, Function<T, V> groupBy, FloatFunction<? super T> function)
    {
        if (iterable instanceof RichIterable)
        {
            return ((RichIterable<T>) iterable).sumByFloat(groupBy, function);
        }
        if (iterable instanceof List)
        {
            return ListIterate.sumByFloat((List<T>) iterable, groupBy, function);
        }
        if (iterable != null)
        {
            return IterableIterate.sumByFloat(iterable, groupBy, function);
        }
        throw new IllegalArgumentException("Cannot perform an injectInto on null");
    }
public static < T , V > ObjectDoubleMap < V > sumByFloat ( Iterable < T > iterable , Function < T , V > groupBy , FloatFunction < ? super T > function ) { if ( iterable instanceof RichIterable ) { return ( ( RichIterable < T > ) iterable ) . sumByFloat ( groupBy , function ) ; } if ( iterable instanceof List ) { return ListIterate . sumByFloat ( ( List < T > ) iterable , groupBy , function ) ; } if ( iterable != null ) { return IterableIterate . sumByFloat ( iterable , groupBy , function ) ; } throw new IllegalArgumentException ( "Cannot perform an injectInto on null" ) ; }
@see RichIterable#sumOfFloat(FloatFunction)