I defined my own predicate:
public interface StringPredicate extends Predicate<String> {
It works, but if I write:
myPred.and( strEl -> strEl != null);
the result is a Predicate<String> not a StringPredicate. How can I define a combine operation as well?