mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
14 lines
334 B
Java
14 lines
334 B
Java
// "Create inner class 'MyCollection'" "true-preview"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
public static void main() {
|
|
Collection c = new MyCollection(1, "test") {
|
|
};
|
|
}
|
|
|
|
private static class MyCollection implements Collection {
|
|
public MyCollection(int i, String test) {<caret>
|
|
}
|
|
}
|
|
} |