mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
17 lines
480 B
Java
17 lines
480 B
Java
|
|
import java.util.function.Function;
|
|
|
|
abstract class LambdaConvert {
|
|
|
|
public abstract <T> T query(Function<Double, T> rse);
|
|
|
|
public void with() {
|
|
addSingle(query((<warning descr="Casting 'resultSet -> {...}' to 'Function<Double, String>' is redundant">Function<Double, String></warning>)resultSet -> ""));
|
|
add(query((Function<Double, String>)resultSet -> ""));
|
|
}
|
|
|
|
public void addSingle(String s) {}
|
|
|
|
public void add(String s) {}
|
|
public void add(Integer i) {}
|
|
} |