If the object's state is modified, the method needs to return true.

  • 如果修改了对象的状态,方法就需要返回true。
  • 来源:互联网摘选更新时间:2025-01-20 00:11:30

  • 重点词汇
  • trueadj. 真正的;真实的;忠实的;正确的;
  • methodn.方法;有条不紊;
  • to return言归正传,回到本题;
  • ifconj.如果;假若;倘若;当;无论何时;每次;与will或would连用,表示客气地请求;即使,虽然;〈口〉是否;假设;
  • theart.这个;指已提到或易领会到的人或事物;指独一无二的、正常的或不言而喻的人或事物;用以泛指;与形容词连用,指事物或统称的人;用于姓氏的复数形式前,指家庭或夫妇;(指特定用途的事物)足够,恰好;每,一;当前的,本,此;(重读,表示所指的为知名或重要的人或事物)
  • statev.陈述;公布;
  • needsadv.(现与must前后连用)必须,一定,务必;
  • modifiedadj.改良的,改进的,修正的;
  • 相关例句
1、

Then just arrange for that probe to return TRUE if the user clicks the "take photo" button.

然后,可以设置为如果用户单击“take photo”按钮,探测器就返回TRUE。

互联网摘选

2、

So I can return true here.

所以我可以在这儿返回真值。

互联网摘选

3、

The group attribute must have the value owner for the condition to return True.

如果要让条件返回True,那么group属性的值必须是owner。

互联网摘选

4、

If the data is valid, return true.

如果数据有效,则返回“真”。

provided by jukuu

5、

Type, the test for default values can return true unexpectedly.

类型中,那么默认值的测试可能意外地返回true。

provided by jukuu

6、

The question mark at the end of the method name means that the method is testing for something and will return True or False.

方法名末尾的问号意思是该方法在测试某些东西,并且将返回True或False。

互联网摘选

7、

One special function called atomic_add_negative is used to add to the atomic variable and then return true if the resulting value is negative.

一个叫做atomic add negative的特殊函数被添加到原子变量中,然后当结果值为负数时返回真(true)。

互联网摘选

8、

Don't think these are common balloon, general person return true blow up, not letter you to try it

不要以为这些都是普通的气球,一般人还真吹不起来,不信你来试试看

互联网摘选

9、

By default, the function will return true, having the same effect as manually clicking OK.

默认情况下,该函数会返回true,与手动单击OK的结果相同。

互联网摘选

10、

This will also return true for vectors that are really close to being equal.

对于非常接近相等向量,也将返回真。

互联网摘选

11、

Note: This function will return false if you cast a ray from inside a sphere to the outside; this in an intended behaviour.

注意:如果从一个球型体的内部到外部用光线投射,返回为假。

互联网摘选

12、

The IS VALIDATED predicate returns true if the XML document is already validated against any specific schema or against any registered schemas, else it will return false.

如果已经根据特定的模式或任何已注册模式验证了XML文档,IS VALIDATED谓词将返回true,否则返回false。

互联网摘选

13、

Adding a return false to the end of the handler created in5 did the trick.

将一个return false添加到5中创建的处理程序的之后,就可以解决问题。

互联网摘选

14、

Finally, return false to prevent the form from being submitted.

最后,返回false来阻止表单提交。

互联网摘选

15、

If you return false from the visit() method, the children of this node won't be visited.

如果visit()方法返回false,那么该节点的子接点将不会被访问。

互联网摘选

16、

Because Order knows nothing about OrderFulfillment, its equals method will always return false when passed an OrderFulfillment.

因为Order对OrderFulfillment一无所知,所以在传递OrderFulfillment时,其equals方法将总是返回false。

互联网摘选

17、

If the list is empty, then return False.

如果列表是空的,那么返回False。

互联网摘选

18、

Next, in the form tag, add the onsubmit=" displayName(); return false;" attribute.

接下来,在表格标签中,添加onsubmit=“displayName();return false;”属性。

互联网摘选

19、

The fgets, fgetss, fread, fscanf, and fclose functions also return False on error.

fscanf和fclose函数在出错时也返回False。

互联网摘选

20、

If a target file is larger than the value specified in the maxsize property, the file search will return false.

如果目标文件比“maxsize”属性中指定的值大,文件搜索将返回false。

provided by jukuu

  • 今日热词
  • 热门搜索

简答网英语词典(dict.jiandongshicai.cn)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:(如需回复请填写联系方式)
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈