例如,如果正在设计一组实用程序类(utility class)的包,并且想要让这些类间具有重 用的行为,但又不会将这些行为暴露给系统的其余部分,就应该将这些包内特定的操作 声明为packag...
基于16个网页-相关网页
实用程序类
Utility class
以上为机器翻译结果,长、整句建议使用 人工翻译 。
这个清单给出单元测试使用的实用程序类。
The listing shows a utility class that gets used by the unit test.
youdao
构建模型和实用程序类。
Building the model and utility class.
然后将在以前使用的DB实用程序类中调用新方法。
It then calls a new method in the DB utility class we have used previously.
应用推荐
模块上移
模块下移
不移动