摘要:
public class Stack { private int maxSize=16; private int top; private int[] arr=null; public Stack(int maxSize) { if(maxSize<1){ throw new RuntimeExce 阅读全文
摘要:
public class SingleLinkList { private HeroNode head=new HeroNode(-1,""); public void addNode(HeroNode heroNode){ HeroNode temp=head; while (true){ if( 阅读全文
摘要:
public class ArrayQueue { private int maxsize=16; private int last; private int front; private int[] arr; public ArrayQueue(int maxsize) { if(maxsize< 阅读全文