所有者类型是一个所有者对象参数化的对象的类型。
Ownership types are types of objects that are parameterized by an owner object.
清单1实例化一个默认的树查看器;您也可以定制树,并用树对象作为参数,用构造函数实例化树查看器。
Listing 1 instantiates a default tree viewer; you can also customize the tree and instantiate the tree viewer by using a constructor with a tree object as the parameter.
第3步:实例化参数对象。
应用推荐