Notice how this method accounts for possible weak references in the queue with the do-while loop.
请注意该方法如何用do - while循环来处理队列中可能存在的弱引用。
The most common forms of basic logic and decision making within programming are the do-while and if-then-else approaches.
最常见的基本逻辑形式和编程中的判定就是do-while和if-then-else。
The upper half of this figure shows the three modeling elements to represent a while loop, a do-while loop, and a for loop.
此图的上半部分显示了三种建模元素,分别表示whileloop、do-whileloop和 for loop。
Do-while loops are similar to while loops, except that the condition is checked after each iteration.
Do - while循环类似于while循环,不过在每次迭代之后检查条件。
While household robots today do the normal housework, social robots will be much more like companions than mere tools.
现今,家用机器人做一般的家务,而社交机器人则更像是伙伴而不仅仅是一种工具。
While extroverts will feel less fear before the ordeal, it does not mean they will necessarily do it better.
虽然外向的人在考验前会更少地感到恐惧,但这并不意味着他们一定会做得更好。
What should governments do to protect people while preserving space for innovation?
政府应该做些什么来保护人民,同时为创新保留空间?
While most bloggers comment on news reported elsewhere, some do their own reporting.
虽然大多博客对别处报道的新闻发表意见,有些却做他们自己的报道。
While household robots today do the normal housework, social robots will be much more like companions than more tools.
如今的家用机器人可以做普通的家务,而社交机器人更像是一种陪伴,而不是工具。
They work in tandem, but here's the distinction: Your conscience shouts, 'here's what you should do, ' while your intuition whispers, 'here's what you could do.
它们协同工作,但却有着不同的使命:你的良心会对你呐喊“这个才是你应该做的”,而你的直觉却在沙沙低语“这个是你能做的”。
Usually, boys score higher on tests about math, while girls do better in tests about words, spelling and memory.
通常,男孩在数学测试中得分较高,而女孩在单词、拼写和记忆测试中得分较高。
What can architects do to improve availability while keeping costs low?
架构师怎样才能在保持低成本的同时提高可用性呢?
Do you believe in love at first sight? A 2005 Fox News poll revealed that about half of us do, while half don't.
您相信一见钟情吗? 2005年福克斯新闻民意测验显示有一半的人相信,而另一半的人不信。
I would do the things I have always wanted to do while I am able. Skydive, bungy jump, go on a cruise.
我将在身体还可以的时候去做自己一直想做的事情,跳伞,蹦极,豪华邮轮旅行。
As an example, most stakeholders would like to have an application that does exactly what they want it to do, while minimizing the application's development cost and schedule time.
作为例子,多数涉众希望应用程序可以完全实现他们想要的功能,同时最小化应用程序的开发成本和时间表。
The result is that while about forty percent of Chinese primary school students need glasses, only three percent of Australian children do.
结果是,大约40%的中国小学生需要戴眼镜,而只有3%的澳大利亚孩子需要。
So let your PC do this while you're relaxing in front of the TV of an evening.
当你夜晚时分在电视机前消磨时间的时候,让你的电脑独自下载吧。
This would be fine world if all men showed as much patience all the time as they do while they are waiting for fish to bite.
如果所有的人能够随时展现出像他们在钓鱼时等待鱼儿上钩的耐性的话,那将会是一个多么美好的世界。
Multitasking allows the CPU to do other things while it waits.
多任务机制允许CPU在等待时做其他事情。
Learn math to do more exercises, do while thinking. Learning first, and then know the why.
学习数学要多做习题,边做边思索。先知其然,然后知其所以然。
America encouraged Britain and France to do so while it accepted a supporting military role.
美国鼓励英国和法国这样做,而其自身接受了一个辅助性的军事角色。
The CPU has nothing to do while it waits for the data, so it sleeps.
CPU在其等待数据时没有事情做,干脆就休眠了。
Whether it's as simple as an embarrassing text message sent, a drunken confession of love or something a little bit more bizarre, it's usually the sort of thing we wouldn't do while sober.
不管是酒醉后发出的一条尴尬短信,还是表白,抑或是更疯狂的事,这些都是我们在清醒的时候不敢做的。
First-order change involves doing better what we already do, while second-order change alters the core ways we conduct business or even the basic business itself.
一阶变化侧重于把现在正在做的是做的更好,而二阶变化改变了我们从事的事业甚至基础生意本身的核心内容。
And while Europeans don't generally exchange business gifts, they do follow some formal customs when visiting homes, such as bringing flowers.
虽然欧洲人一般不交换商务礼物,但他们在拜访别的家庭时确实会遵循一些礼仪规则,比如送花。
The point is it is not where you go to school but what you do while there and afterwards that really matters.
所以,你去哪所学校不重要,重要的是你在那里学习期间和毕业之后都做了什么。
The point is it is not where you go to school but what you do while there and afterwards that really matters.
所以,你去哪所学校不重要,重要的是你在那里学习期间和毕业之后都做了什么。
应用推荐