• Create a private method as shown below.

    创建一个私有方法,如下所示。

    youdao

  • Listing 11 is an example of accessing a private method in a class.

    清单11展示了对类的私有方法的访问。

    youdao

  • Is a private method returning true if the current user is logged in.

    是一个私有方法,如果当前用户已登录则返回true。

    youdao

  • You use the private method setUIText() to set all the text on the LogonUI.

    可以用私有方法setUIText()设置LogonUI上的所有文本。

    youdao

  • The cipher text string is then passed to the getCipherDataDoc private method.

    接着该密码文本字符串传递给getcipherdatadoc私有方法。

    youdao

  • 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

  • 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

  • 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.)

    auth和list之间微妙但重要的一点区别是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

  • So it is necessary to use a method that securely removes any private information.

    因此要用能安全移除所有隐私信息的方法。

    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.

    修改方法可见度的方法与修改属性可见度的方法一样,即在方法声明中添加public、private或protected。

    youdao

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

    最初在编写代码时,我没有过多地担心将方法可视性归为default(包)、private、public还是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

  • 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

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

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

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