Trimming an empty Stack (t) sets the capacity of the Stack (t) to the default capacity.
修剪空的Stack (t)集合会将Stack (t)的容量设为预设容量。
State 0 represents the empty stack, state 1 represents the stack with only one element: simpara.
状态0表示空堆栈,状态1表示只有一个元素:simpara的堆栈。
The equivalence of acceptance words by PDLA with final state and with empty stack is proved.
下推格值自动机以终态与以空栈两种接受词语言的方式是等价的。
They held us in an empty room where the nurses and I sat together on a stack of mattresses.
他们将我们关在一间空屋子里,我和护士们坐着垫子挤在一起。
The stack reacts to the timeout by resetting the congestion window back to an empty state.
栈对超时的响应是把拥塞窗口重设回空状态。
For one-way messages, the destination soap stack needs to generate a new soap envelope (with an empty soapenv: Body) in order to add this ack header.
对于单向消息,目的地soap堆栈需要生成一个新的soap信封(包含一个空的soapenv:Body)来添加这个ACK标签。
Now I can code the behavior for the pop method, which ensures that if the stack is logically empty, an exception will be thrown.
现在我可以为pop方法编写行为,即确保当栈在逻辑上为空时,抛出一个异常。
In this case, ensuring that pop throws an exception if push hasn't been called (or logically, if the stack is empty) means that the stack has a state.
在这种情况下,如果push没有被调用(或者从逻辑上讲,栈为空)的情况下确保pop抛出一个异常,则意味着栈有一个状态。
The static Current property uses the Stack.Peek method to return the T instance at the top of the stack if one exists, returning null if the Stack is empty.
静态Current属性使用Stack.Peek方法返回位于堆栈顶端的T实例(如果存在),如果Stack 为空则返回空。
If you called pop again, then foo should be returned and the stack should be empty (assuming there wasn't anything in it before you added the two objects).
如果再次调用pop,那么应该返回foo,然后栈为空(假设在添加这两个对象之前栈中没有对象)。
However, we only have one main thread and one call-stack, so in case there is another request being served when the said file is read, its callback will need to wait for the stack to become empty.
尽管如此,我们只有一个主线程加一个调用栈,所以为避免在读取那个文件时又去处理另一个请求,回调函数需要等待调用栈变空。
However, we only have one main thread and one call-stack, so in case there is another request being served when the said file is read, its callback will need to wait for the stack to become empty.
尽管如此,我们只有一个主线程加一个调用栈,所以为避免在读取那个文件时又去处理另一个请求,回调函数需要等待调用栈变空。
应用推荐