摘要: public interface IStack<E> { /** * 压栈,入栈 * @param e 传入进来的类型 * @return 是否压栈成功 */ public boolean push(E e); /** * 出栈 * @return 返回容器中最上面的一个对象 */ public E 阅读全文
posted @ 2019-12-10 16:44 星然 阅读(308) 评论(0) 推荐(0) 编辑