mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
12 lines
270 B
Java
12 lines
270 B
Java
import java.util.function.Function;
|
|
|
|
class Test {
|
|
{
|
|
double y = 2.0;
|
|
int x = 1;
|
|
Function<Integer, Integer> integerIntegerFunction = x1 -> x1++;
|
|
double z = integerIntegerFunction.apply(x) + y;
|
|
|
|
System.out.println(z);
|
|
}
|
|
} |