Posts by Hugo Casanova • 33 points
1 post
-
3
votes2
answers88
viewsQ: Why isn’t my foreach cycle printing anything?
public static Iterable<String> select(Iterable<String> it, Predicate<String> pred) { ((Collection<String>) it).removeIf(pred); return it; } public static void main(String[]…
javaasked Hugo Casanova 33