SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы
НазадМетки: python
Inner classes becomes attributes on the class object. Instances of static inner classes can be created with the usual call:
com.foo.JavaClass.StaticInnerClass()
Non-static inner classes must have an outer class instance supplied explicitly as the first argument:
com.foo.JavaClass.InnerClass(com.foo.JavaClass())