11 lines
190 B
Java
11 lines
190 B
Java
import java.util.function.Function;
|
|
class LamAssign {
|
|
|
|
Function<Integer,Integer> m () {
|
|
Function<Integer,Integer> lam1 = (Integer x) -> {
|
|
return x;
|
|
};
|
|
return lam1;
|
|
}
|
|
}
|