public void add(METHOD M,int Number) { count++; ParsTableNode temp =first; if(first == null) { first = new ParsTableNode(M,Number); } else { while(temp.next != null) { temp =temp.next; } temp.next= new ParsTableNode(M,Number); } }
public ParsTableNode(METHOD M,int Number) { this.item.method = M; this.item.number = Number; next = null; }
public ParsTableElement() { first = null; this.count = 0; }