mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-21 05:03:54 +07:00
ed8c359a4c
GitOrigin-RevId: 8961061d0a65a1ce182c79d3d108db30b2e2ee18
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>
|
|
}
|
|
}
|
|
} |