mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
13 lines
239 B
Java
13 lines
239 B
Java
class Demo {
|
|
|
|
Function<Supplier<Double>, ? extends Supplier<Double>> mapper2 = (sa) -> () -> sa.get() + 1.0;
|
|
|
|
interface Supplier<T> {
|
|
public T get();
|
|
}
|
|
|
|
interface Function<T, R> {
|
|
public R apply(T t);
|
|
}
|
|
}
|