axiom-core/src/main/java/org/axiom/util/CollectionUtils.java
@SuppressWarnings({"unchecked"})
    public static <TIn,TOut> Iterable<TOut> map(final Iterable<TIn> iterable,
        final Computation<TIn,TOut> transformer) {
        //The type constraints of the inputs make this a safe assumption
        return new ArrayList<TOut>(collect(iterable.iterator(), transformer));
    }
/**
     * A generic wrap around map/collect on an iterable reference, using a type mapped transformer.
     * @param iterable The {@link Iterable} to map over
     * @param transformer The {@link Computation} to transform items with
     * @return A transformed {@link Iterable}.
     */
A generic wrap around map/collect on an iterable reference, using a type mapped transformer.
@param iterable The  Iterable to map over
@param transformer The  Computation to transform items with
@return A transformed  Iterable.
A generic wrap around map / collect on an iterable reference using a type mapped transformer . @param iterable The Iterable to map over @param transformer The Computation to transform items with @return A transformed Iterable .
@SuppressWarnings({"unchecked"})
    public static <TIn,TOut> Iterable<TOut> map(final Iterable<TIn> iterable,
        final Computation<TIn,TOut> transformer) {
        return new ArrayList<TOut>(collect(iterable.iterator(), transformer));
    }
@ SuppressWarnings ( { "unchecked" } ) public static < TIn , TOut > Iterable < TOut > map ( final Iterable < TIn > iterable , final Computation < TIn , TOut > transformer ) { return new ArrayList < TOut > ( collect ( iterable . iterator ( ) , transformer ) ) ; }
A generic wrap around map/collect on an iterable reference, using a type mapped transformer.
A generic wrap around map / collect on an iterable reference using a type mapped transformer .
//The type constraints of the inputs make this a safe assumption