Figure 1 shows an example class model, which represents a company with employees and offices.
图1显示了一个实例类模型,它表示一家拥有雇员和办公室的公司。
The example class in this article also includes the main function, but that is not a requirement.
本文中的示例类还包括main函数,但这不是必需的。
Figure 1 shows these terms with an example class named MyClass which is holding a HashSet that contains string objects.
图1通过名为MyClass的示例展示了这些术语,此示例具有一个HashSet,包含字符串对象。
If you need to connect from one of your own programs, then you could replace the "MyZODB" example class given above with something that connects to ZEO instead.
如果希望从自己的某个程序连接,可以将上面给出的“MyZODB”示例类替换为某个连接到ZEO的类。
We need a main method to apply advice to our Example class, and print out some helpful status messages.
我们需要一个main方法将advice应用到我们的Example类,并打印出一些有帮助的状态消息。
We need a main method to apply advice to our Example class, and print out some helpful status messages.
我们需要一个main方法将advice应用到我们的Example类,并打印出一些有帮助的状态消息。
应用推荐