• As with properties, any attempt to call a private method from outside the containing class causes a fatal error.

    属性一样尝试包含外部调用私有方法导致致命错误

    youdao

  • The reality is that the main() method simply executes a private method, go(), on an instantiated AtomToRdf class.

    实际情况main()方法只是实例化的AtomToRdf执行私有方法go()。

    youdao

  • Unresolved compilation problems: No enclosing instance, Private method from the class is not visible, this$0 cannot be resolved.

    解决问题编制封闭实例私有方法可见的,0美元是不能解决的。

    youdao

  • 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限定符

    youdao

  • In other words, a private method cannot be called from another module, and a private field or property cannot be read or written to from another module.

    话说,私人方法不能称为一个模块一个私人字段属性不能被读取写入到另一个模块。

    youdao

  • The populate method is much shorter now, and it reads like an outline of the tasks it needs to perform, with the task implementation residing in private methods.

    populate方法现在多了看起来像是需要执行任务大纲任务实现放在私有方法中。

    youdao

  • 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 的)。

    youdao

  • A subtle but important difference between auth and list is that list is a closure, whereas auth is a private method. (Closures use an equals sign in the definition; methods use parentheses.)

    authlist之间微妙重要的一点区别list是包,auth是一个私有方法(定义使用等号方法使用圆括号)。

    youdao

  • 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在线的情况下从文件中检索城市列表,方法把城市信息存在高速缓存提高性能

    youdao

  • If somebody wanted to keep a bit of information private, he encrypted the data with a password, a pass phrase, or another basic method.

    如果某人保持少量私有信息,那么必须使用密码、密码短语其他基本方法数据进行加密。

    youdao

  • Thus, it is crucial to establish a method to generate valid, reliable and comparable information on private health spending.

    因此找到一种可以获取有效可靠可比私人健康开支信息方法至关重要。

    youdao

  • It is legal to get method infos of methods that are not accessible; metadata is always public even if it describes private details.

    获得方法方法信息合法的;元数据总是公共的,即使描述了私有详情

    youdao

  • Set the download method to Private, and be sure to set the file system path to a location that is not inside the directory /var/www/htdocs.

    下载方法设置Private文件系统路径设置为不在目录 /var/www/htdocs 中的位置

    youdao

  • Extension Methods - Sometimes you want to take a private helper method and reuse it elsewhere.

    扩展方法有时候在任何地方都重用某个私有helper方法

    youdao

  • In the commit method of the login module, a privileged code clears up the current subject and replaces the principals, and the public and private credentials.

    登录模块commit方法中,可以使用特权代码清除当前主题替换相应主体公开私有的凭据。

    youdao

  • The ReleaseObject method internally uses a private ReturnToPool method to restock the pool with the given object, shown in Figure 5 .

    ReleaseObject方法内部使用私有ReturnToPool 方法,给定对象重新填充该,如5

    youdao

  • 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关联公共密匙私有(首选方法我们这个使用这种方法)。

    youdao

  • The main method then calls the following private static methods in turn, passing in either the UDDI4J proxy or the Publish instance, as appropriate.

    接着main方法依次调用下列私有静态方法(必要时UDDI4Jproxy或者Publish实例中传递)。

    youdao

  • This method accepts an EventQuery object, which is configured with various parameters: the user name, the type of feed (public or private) and the level of detail required in the feed (full or basic).

    方法接受一个EventQuery对象配置了多个参数用户提要类型(公共私有)以及提要详细程度(完整还是基本)。

    youdao

  • A dialog box displays, requesting the name and visibility (public, private, protected, or default) of the new method.

    这时会出现一个对话框,要求输入这个新方法名称可见性(公开的、私有的、保护或是默认的)。

    youdao

  • Note that Zope uses an odd convention to determine which methods are accessible via the Web -- if a method has a doc string, it is Web accessible; otherwise, it's considered private.

    注意Zope采用奇怪约定确定哪些方法可以通过Web访问如果方法包含一个doc字符串,那么该方法可通过 Web 访问;否则被认为是私有的。

    youdao

  • You can modify the visibility of methods in the same way as properties, adding public, private, or protected to the method declaration.

    修改方法可见度方法与修改属性可见度的方法一样,即方法声明添加publicprivateprotected

    youdao

  • Initially when writing code, I don't worry too much about categorizing method visibility as default (package), private, public, or protected.

    最初编写代码时,没有过多担心方法可视性default()、privatepublic还是protected

    youdao

  • These two functions are both declared private static, which enables you to call them from within your main method but not from other classes.

    两个函数声明为privatestatic因此可以main方法调用它们但是不能其他类调用。

    youdao

  • Now, the items array can be private because the descendant classes use the protected add method to add configuration items to the list.

    现在阵列可以private的,因为子类使用保护的add方法配置添加列表中。

    youdao

  • visibility shows field and method modifiers: public, protected, private, or default.

    visibility展示字段方法修改语publicprotectedprivatedefault

    youdao

  • It turns out there is another option as well: leave the method as declared (that is, private) and use the nifty JUnit-addons project to test it.

    还有另一个选择保留方法现有的声明不变(private),采用优秀的JUnit插件项目测试

    youdao

  • Using a private field and annotating the setter method is considered a best practice.

    使用私有字段注释setter方法视为最佳做法。

    youdao

  • After you add a ServiceListener, you call your private login method as shown in listing 4.

    添加ServiceListener,将调用privatelogin方法如清单4

    youdao

  • After you add a ServiceListener, you call your private login method as shown in listing 4.

    添加ServiceListener,将调用privatelogin方法如清单4

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定