示例#1
0
 //functions
 public bool EnQueue(T TD, out Doubly <T> .Node refNode) // can be full??? // when does fail?
 {
     _QueueDoubly.AddToEnd(TD);
     refNode = _QueueDoubly.End;
     Counter++;
     return(true);
 }
示例#2
0
 //c'tor
 public QueueNode()
 {
     _QueueDoubly = new Doubly <T>();
     Counter      = 0;
 }