Extend an existing collection class that already implements Iterable (and therefore already supports for/in).
扩展现有的、已经实现了 Iterable(因此也就已经支持 for/in)的集合类。
Data: An object; a generic reference that is carried along to listeners; often a collection class (such as a Vector or Hashtable) or a customized data object.
data:一个对象;传递给侦听程序的一般引用;常常是一个集合类(如vector或Hashtable)或一个定制的数据对象。
Keeping the reference to the property change listener means the Person POJO has to keep some kind of collection class (such as ArrayList) to contain all the references.
保持引用属性变更监听器意味着Person POJO必须保留某种类型的集合类(例如arraylist)来包含所有引用。
应用推荐