mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
17 lines
365 B
Java
17 lines
365 B
Java
// "Replace with lambda" "true-preview"
|
|
class Test {
|
|
{
|
|
Comparable<String> c = new Compa<caret>rable<String>() {
|
|
@Override
|
|
public int compareTo(final String o) {
|
|
Runnable r = new Runnable() {
|
|
@Override
|
|
public void run() {
|
|
System.out.println(o);
|
|
}
|
|
};
|
|
return 0;
|
|
}
|
|
};
|
|
}
|
|
} |