Main.java:7: error: incompatible types: inference variable T has incompatible bounds
.filter(Predicate.not(Character::isAlphabetic))
^
lower bounds: Integer,Object
lower bounds: Character
where T is a type-variable:
T extends Object declared in method <T>not(Predicate<? super T>)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error