这时,子类可以把构造方法转为公有属性,从而允许任何客户端都可以去创建实例。
A subclass could then expose a public constructor, allowing anyone to make instances.
使用标准的FlexAMF3序列化(BlazeDS或LCDS),只有非临时、非静态的公有属性才能被序列化。
With standard Flex AMF3 serialization (BlazeDS or LCDS), only non transient, non static public properties may be serialized.
我们同时加入了3个公有方法来获取大小(例如,定义的属性个数),获取map中的元素,以及更新map中对应的元素等。
We also added three public methods that retrieve the size (i.e., the number of properties defined), retrieve a single element in the map, and update the map with a new element, respectively.
实现代码的类定义:该类必须成为属性框的Basics选项卡中指定的porttype类,并且该类必须是公有的。
A class definition for the implementation code: this class must become the PortType class named in the Basics TAB of the properties box, and the class must be public.
只有当外部的类或对象需要访问其属性时,才使相应的getter或setter公有。
Only when an external class or object needs to access an attribute should you make the appropriate getter or setter public.
因为portlet应用程序是共享资源,它们的属性在整个安装过程中是公有的。
Because portlet applications are Shared resources, their properties will be common across the entire installation.
其次,房改房经居民按照标准价或者成本价购买后即具有私有属性,除有法律规定原因,单位不得再以房屋曾具有公有性质而任意收回;
Second, as citizens brought the house, it becomes to a private-owned property. Except prescribed by law, it will not come back to the public-owned property.
其次,房改房经居民按照标准价或者成本价购买后即具有私有属性,除有法律规定原因,单位不得再以房屋曾具有公有性质而任意收回;
Second, as citizens brought the house, it becomes to a private-owned property. Except prescribed by law, it will not come back to the public-owned property.
应用推荐