• 现在可以pop方法编写行为确保逻辑上时,抛出一个异常

    Now I can code the behavior for the pop method, which ensures that if the stack is logically empty, an exception will be thrown.

    youdao

  • 如果再次调用pop那么应该返回foo,然后(假设添加两个对象之前没有对象)。

    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).

    youdao

  • 这种情况下,如果push没有调用(或者从逻辑上讲)的情况下确保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.

    youdao

  • 推格值自动机以两种接受词语言方式等价的。

    The equivalence of acceptance words by PDLA with final state and with empty stack is proved.

    youdao

  • 如果抛出

    EmptyStackException - if this stack is empty.

    youdao

  • 如果抛出

    EmptyStackException - if this stack is empty.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定