I have a Interface Foo which has a generic type -
public interface Foo { boolean apply(T t); }
Having another class Ba
Wouldn't this work?
public class Bar<T extends A & B> implements Foo<Collection<T>>{ @Override public boolean apply(Collection<T> collect){ ... } }