mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
18 lines
287 B
Java
18 lines
287 B
Java
class Double {
|
|
public static Double sum(Double a, Double b) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
interface BinaryOperator<T> extends BiFunction<T,T,T> {
|
|
}
|
|
|
|
interface BiFunction<T, U, R> {
|
|
R apply(T t, U u);
|
|
}
|
|
|
|
class U {
|
|
{
|
|
BinaryOperator<Double> doubleBinaryOperator = Double::sum;
|
|
}
|
|
} |