联系人集合的表示形式与此相同,默认使用 作为包装器元素。
Representation for a collection of contacts is much the same and has as the wrapper element by default.
同步的集合包装器以及早期的Hashtable和Vector类带来的更大的问题是,它们在单个的锁上进行同步。
The bigger problem with the synchronized Collections wrappers, and the earlier Hashtable and Vector classes, is that they synchronize on a single lock.
处理这种情况的一个相对简单的方法是以您的服务实现为基础创建包装器类,将该集合接口转换成一个数组接口。
One relatively easy way of dealing with this situation is to create a wrapper around your service implementation, converting the collection interface into an array interface.
应用推荐