摘要:
publicinterface IQueue<E> { boolean enqueue(E e); //入栈 E dequeue(); //出栈 E peek(); //去对头元素 int size(); //返回队长 boolean isEmpty(); //判断是否空队 boolean ifFu 阅读全文
posted @ 2018-07-25 19:39
带带大璞璞
阅读(805)
评论(0)
推荐(0)
摘要:
publicinterface IStack <E>{ E push(E e); E pop(); E peek(); int size(); boolean empty(); } publicclass MySquenceStack <E>implements IStack<E> { privat 阅读全文
posted @ 2018-07-25 15:15
带带大璞璞
阅读(638)
评论(0)
推荐(0)

浙公网安备 33010602011771号