The reality is that the main() method simply executes a private method, go(), on an instantiated AtomToRdf class.
实际情况是main()方法只是在一个实例化的AtomToRdf 类上执行了一个私有方法go()。
The ReleaseObject method internally uses a private ReturnToPool method to restock the pool with the given object, shown in Figure 5 .
ReleaseObject方法在内部使用私有的ReturnToPool 方法,用给定对象重新填充该池,如图5 所示。
Create an "Identification Credential" to relate the public and private key [this is the preferred method, and we will use this method for this use case].
创建一个“IdentificationCredential”来关联公共密匙和私有密匙(这是首选方法,我们将对这个用例使用这种方法)。
Note that the invoke() method is overridden to either take an Object instance, as in Listing 4, or a Class, in the case that the desired private method is also static.
请注意invoke()方法被覆盖成可以接受一个Object实例(如清单4 所示)或一个Class(这时期望的private 方法也是 static 的)。
The city list is retrieved from the NWS using a private method if the NWS is online and from a file if the NWS is not online, and the method caches state and city information to improve performance.
在NWS在线的情况下使用私有方法来从 NWS检索城市列表,在 NWS不在线的情况下从文件中检索城市列表,该方法把州和城市信息存在高速缓存中以提高性能。
If you do not want a particular method to be exposed, change it to a Private method by adding the Private qualifier before the function.
如果不希望公开特定的方法,则将它更改为Private Method,方法是在函数之前添加private限定符。
Ruby class initialize (constructor) is private method or public method?
宝石类初始化(构造函数)是私人或公共方法方法?
Ruby class initialize (constructor) is private method or public method?
宝石类初始化(构造函数)是私人或公共方法方法?
应用推荐