public void inQ(PProcess dat)//list.addend() ya fahmy { if (start == null) { start = new node(dat); return; } node q = start; while (q.next != null) { q++; } q.next = new node(dat); }
public node(PProcess dat) : this(dat, null) //simple, but useful overload { }
public node next; //Duh... public node(PProcess data, node next) //same old constructor { this.data = data; this.next = next; }