要克服这个缺点,可以象使用映射那样动态注册并移除必要的映射。
To overcome this problem, you dynamically register and remove the necessary mappings as you use them.
这里没有显示该类,但是该类负责维护注册信息并记录类型的使用信息,而且维护所汇聚对象的队列。
This class is not shown here, but maintains the registration information and records usage information for the type and maintains a queue of pooled objects.
用户可以对目录项作评论,并注册他们自己的使用示例的详细信息。
Users can comment on the entry and register details of their own usage examples.
应用推荐