For instance if I wanted to declare similar lambda to the following method:
boolean isXyz(String a, int b, boolean c) {
...
}
Trying
Function<String,Integer,Booleean,Boolean> isXyz = ...
Results in a compilation error:
X.java:3: error: wrong number of type arguments; required 2