mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
10 lines
165 B
Java
10 lines
165 B
Java
class Test {
|
|
public void foo() {
|
|
Comparable<String> c = o -> newMethod(o);
|
|
}
|
|
|
|
private int newMethod(String o) {
|
|
return o.indexOf("foo");
|
|
}
|
|
}
|