Closed BrenoTrancoso closed 7 years ago
Thank you for your interest! What is the benefit of exposing the implementation instead of the interface? What do you need from Xform that you don't get from Transformable?
xform(new ArrayList<>()).forEach(x -> {}) -> forEach doesn't exists. Xform.of(new ArrayList<>()).forEach(x -> {}) -> forEach exists.
xform(new ArrayList
Maybe to public static <
Thank you for finding and reporting this. I really like your suggestion to use UnmodIterable instead of Transformable and have made that change as you suggest in Paguro 2.0.16.
StaticImports:
public static <T> Transformable<T> xform(Iterable iterable);
public static <T> Transformable<T> xformArray(T... items);
To
public static <T> Xform<T> xform(Iterable iterable);
public static <T> Xform<T> xformArray(T... items);