blob: ea35c5cb45c56d83776abf5e3b83cd542b0187ef [file] [log] [blame]
interface Predicate<T> {
public boolean test(T t);
public default Predicate<T> and(Predicate<? super T> p) {
return null;
}
}
public class Test1 {
{
Predicate p = new Predic<caret>
}
}