摘要: public class Queue { private int head; private int tail; private int maxSize; private long[] queueArray; private int num; public Queue(int... 阅读全文
posted @ 2015-08-12 15:20 studyForAndroid 阅读(99) 评论(0) 推荐(0)
摘要: public class Stack { private long[] stackArray; private int maxSize; private int top; public Stack(int maxSize) { this.maxSize = maxSize;... 阅读全文
posted @ 2015-08-12 14:39 studyForAndroid 阅读(114) 评论(0) 推荐(0)