方法返回 - 翻译成英语

在 中文 中使用 方法返回 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
如果该方法返回一个值,调用该方法通常被视为一个值。
If the method returns a value, a call to the method is usually treated as a value.
当你创建一个File对象且它是目录时,isDirectory()方法返回ture。
When you create a File object and it is a directory, the isDirectory() method will return true.
如果两个字符串相等,或根据本地排序规则没有区别,该方法返回0。
And if the strings are identical or indistinguishable according to the locale ordering conventions, the method returns 0.
方法round返回最接近的long或int,由方法返回类型给出。
Returns the closest long or int, as indicated by the method's return type to the argument.
对区块链中的块的任何更改都将导致此方法返回false。
Any change to the blockchain's blocks will cause this method to return false.
Slice()方法返回一个新的ArrayBuffer,它的内容是这个ArrayBuffer的字节副本,从begin(包括),到end(不包括)。
Slice: The slice() method returns a new ArrayBuffer whose contents are a copy of this ArrayBuffer's bytes from begin, inclusive, up to end.
在运行时,F方法引发System.OverflowException,G方法返回-727379968(从超出范围的结果中取较低的32位)。
At run- time, the F() method throws an OverflowException, and the G() method returns- 727379968(the lower 32 bits of the out-of-range result).
本例中,fib_iter==fib_inst,因为__iter__()方法返回self,但for循环不知道(也不关心)那些。
In this case, fib_iter == fib_inst, because the__iter__() method returns self, but the for loop doesn't know(or care) about that.
Index()方法与find()方法几乎相同,唯一的区别是,find()如果找不到该值,则该方法返回-1。
An index() method is almost the same as the find() method, the only difference is that find() method returns -1 if that value is not found.
它(将)不用于方法形式、构造函数形式、方法返回类型、字段、捕获形式,或任何其他类型的变量声明。
It[will] not be available for method formals, constructor formals, method return types, fields, catch formals, or any other kind of variable declaration.
函数、方法返回接口的引用(通过返回值或者"out"参数),应当在返回前增加被返回的对象的引用计数。
Functions and methods that return interface references(via return value or via"out" parameter) shall increment the reference count of the returned object before returning..
Then方法返回一个promise。
All three methods return a Promise.
Then方法返回一个promise。
The method will return a promise.
Java方法返回多个值.
The Java method should return a long.
Java方法返回多个值.
The Java method should return a double.
Then()方法返回一个Promise。
The then() method of a promise returns another promise.
不能将var作为方法返回类型.
Cannot be used to define a return type of a method.
NET方法返回一个int类型的值。
Net methods as if it returned an int.
如果a为null,则此方法返回0。
If a is null, this method returns 0.
此静态方法返回一个可用于bytes.
This static method returns a translation table usable for bytes.
结果: 1020, 时间: 0.0186

顶级字典查询

中文 - 英语