return a value中文,return a value的意思,return a value翻译及用法

2026-03-22 06:37 浏览次数 19

return a value

传回值

return a value 例句

英汉例句

  • you can invoke methods that return a value in the egl resources api as follows

    您可以在如下的eglresourcesapi中调用返回一个特定值的方法

  • these value methods return a value object and they add the value to the enumeration’s collection of values.

    这些value方法返回一个value对象,它们会把这些值加到枚举值的集合中去。

  • in this class, you manipulate the server data and return a value to the client (or throw an exception, but let「s stay optimistic for the moment).

    在这个类中,将操作服务器数据并将值返回给客户机(或者抛出异常,但是此刻先让我们乐观一些认为不会出现这种情况)。

  • finally, the geteventtype() method must return a value that uniquely represents the new event type throughout the application.

    最后,geteventtype()必须返回一个在整个应用程序中表示新事件类型的惟一值。

  • one way to determine the success or failure in function testing is by counting the line commands that return a value other than 0.

    在功能测试中决定其成功或失败的一个方法是计算返回值不是0 的行命令数量。

  • static methods that merely accept an argument or two, perform a calculation, and return a value based on nothing but those arguments are ideal.

    仅接受一两个实参、执行计算,并仅依据那些实参返回值的静态方法是理想的。

  • and since example 2 does not have a return value labeled, the sequence does not return a value (presumably, the sequence being modeled does not need the return value).

    因为例子2没有返回值标签,序列不返回值(假设,建模的序列不需要返回值)。

  • the first mistake that nonnative speakers make is to return a value indicating an error, instead of throwing an exception.

    非原生语言使用者的第一类错误是返回一个表示错误的值,而不是抛出异常。

  • you should take care to return a value of the right type and to only throw exceptions declared by the method; otherwise, the proxy implementation will raise a runtimeexception.

    应该小心地返回适当类型的值,并且只抛出由方法声明的异常;否则,proxy实现将抛出一个runtimeexception。

  • note that we specify handlesnulls so that ids allows our function to return a value when the column value is null.

    注意,我们指定了handlesnulls,因此,当列值为null 时,ids 将允许函数返回一个值。

  • always() = always return a value of true

    always() =总是返回一个值true。

  • the getbalance() method has a postcondition that it must always return a value greater than or equal to 0.

    getbalance()方法有一个后置条件,即它必须返回大于或等于0 的值。

  • these are parameters that can both receive a value for input and return a value for output. for example, consider the following class

    有些参数既可以接收输入值,也可以返回输出值。

  • a method with a side effect can return a value but also changes the program」s state.

    有副作用的方法可能返回一个值,但同时也修改了应用程序的状态。

  • these two approaches are sometimes differentiated by calling methods that don't return any data (subroutines) and methods that do return a value (functions).

    有时要实现这两个目的,需要分别调用不返回任何数据的调用方法(子例程)和返回值的方法(函数)。

  • it will simply return a value of 0 as the key to the trade order without changing the database.

    它只是返回一个值0作为交易订单的键,而不会更改数据库。

  • if no index is found, then there are no cached tweets, so there is nothing to show and no optimization can be made on the query (and you return a value of 0 to indicate this).

    如果没找到任何索引,那么就没有缓存的tweet,所以就没有展示的东西,并且没有可对查询进行的优化(您返回一个0值以指示这一点)。

相关热词