Notice how this method accounts for possible weak references in the queue with the do-while loop.
请注意该方法如何用do - while循环来处理队列中可能存在的弱引用。
Do-while loops are similar to while loops, except that the condition is checked after each iteration.
Do - while循环类似于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。
For this purpose, I have used a do-while loop that continues dividing the value integer by 256 until the value drops below 1.
为此,我使用了一个do - while循环,它不断地将value整数除以256,直到得到的值小于1。
What does the brain do while we are sleeping?
当我们睡觉时,大脑在做什么?
What do people tend to do while engaging in a conversation?
人们在交谈时倾向于做什么?
There is absolutely nothing you can do while this is going on but keep both eyes fixed on the sink until it's full.
在这个过程中,你除了一直盯着水槽直到它满了以外,你什么也做不了。
What do you usually do while waiting for someone?
你通常在等人的时候会做什么?
What does the author suggest readers do while reading the plays?
在阅读戏剧作品时,作者建议读者做什么?
On the other hand, if you realize one day you are going to stand before God and he's going to say, 'What did you do while I put you on earth?
另一方面,如果你意识到有一天你会站在神的面前,他会问你,“当我把你放在尘世中时你为我做了什么?”
We pledge to keep the faith and keep believing in the things that Doug Collins is trying to do while we're losing all of these close games.
我们保证会一直相信,一直坚信道格柯林斯在对球队所做的改造,尽管很多比分很接近的比赛我们最后都输了。
Let me rephrase it into garbled English that'll lead more naturally into what I want to do While the egg whites are not stiff, beat them.
让我用篡改的英语,重新说一遍,我要做的吧,当蛋清还不够浓稠的时候,搅拌它们。
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.
作为例子,多数涉众希望应用程序可以完全实现他们想要的功能,同时最小化应用程序的开发成本和时间表。
And so I still love the paper book, for its simplicity and lack of other things to do while you're reading it.
所以我还是一如既往的喜欢纸质的书籍,因为它们很简单并且没有什么能在我们阅读的时候打扰我们的东西。
This is not exactly just what the women do while the boys are out on the road. The boys want the pie.
这不完全是女人在男孩在外时做的事,男孩们想要派。
Continue must be in a loop (e.g., for, do, while). It cannot appear in case constructs.
continue一定是在for,do,while这些循环中,而不能在实例构建中出现。
Certainly we can find something for it to do while it waits.
在它等待时,我们肯定能够为它找到可以做的事情。
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.
一阶变化侧重于把现在正在做的是做的更好,而二阶变化改变了我们从事的事业甚至基础生意本身的核心内容。
Harry: Tell me some things I can do while I'm at my desk to help relieve my stress and help me feel better.
哈里:告诉我一些坐在办公桌前能做的缓解肌肉紧张、使我感觉更加良好的瑜伽动作。
You might be interested in why your foreign friend has come to China and what they plan to do while they're here.
你可能会非常想知道为什么你的外国朋友来到中国以及他们有什么具体的计划安排吗?
All you have to do is figure out what you want to do while on vacation in Hawaii.
你所需要明白的就是在夏威夷度假期间想干什么。
The CPU has nothing to do while it waits for the data, so it sleeps.
CPU在其等待数据时没有事情做,干脆就休眠了。
Moira lived with her parents, but seemed content to spend her time in Henry and Colleen's company, as if she had done all of the socializing she needed to do while she was away at college.
莫伊拉和父母住在一起,她似乎满足于陪着亨利和科琳消磨时光,就好像在离家上大学的那些日子里,她已经过够了社交生活似地。
Natalie Mahowald, a climate researcher at Cornell University, says so far, scientists have mostly tried to understand what those aerosols do while they're actually in the air.
美国康奈尔大学的一位气候学家娜塔莉·马霍瓦尔德表示,迄今为止,科学家们一直都在设法获悉悬浮微粒在空中有什么作用。
Team up and you offer the same to your chosen partner and I guarantee that you will be pushing more weight that any time that you do while working out alone.
合作起来,你为你的搭档提供相同的帮助,我保证你将举起比你任何时候的单独训练更高的重量。
These are just a few of the myriad of activities you can do while in Hawaii — The Islands of Aloha.
这些仅仅是你在夏威夷(阿洛哈岛)可以参加的众多活动中的一部分。
Japanese firms also have some catching up to do. While they were putting their houses in order, their healthier foreign rivals went on acquisition sprees.
日本的一些公司已经开始迎头追赶,正当日本国内积极整合之际,他们的国外对手正掀起并购狂潮。
Japanese firms also have some catching up to do. While they were putting their houses in order, their healthier foreign rivals went on acquisition sprees.
日本的一些公司已经开始迎头追赶,正当日本国内积极整合之际,他们的国外对手正掀起并购狂潮。
应用推荐