请输入您要查询的英文单词:

 

单词 pop empty stack
释义
pop empty stack
  • 翻译

弹出空堆栈

以上为机器翻译结果,快速获取精准的人工翻译结果,建议选择有道人工翻译

  • 网络释义
  • 1

    [计]?堆栈变空

    ... 堆栈 stack 堆栈变空 pop empty stack 堆栈存储器 stack storage ...

短语
  • 双语例句
  • 1
    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抛出一个异常,则意味着栈有一个状态。
  • 2
    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,然后栈为空(假设在添加这两个对象之前栈中没有对象)。
  • 3
    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方法编写行为,即确保当栈在逻辑上为空时,抛出一个异常。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/1/10 18:45:06