尽管必须使用该方式来实例化适配器对象,但这还是避免了复制数据值。
Although you must instantiate the adapter object with this approach, it still avoids copying the data values.
适配器对象能够将对象转换为实现所需接口的对象,而不必复制涉及到的数据。
Adapter objects can transform an object into one that implements the required interface, without copying the data around.
这可保证程序线程不再使用资源适配器对象,并且所有事务都已完成。
This guarantees that application threads are no longer using resource-adapter objects and that all transactions have completed.
应用推荐